Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need multiple folders with the entire site sitting in it.


So I already have my Dev/Hub branch and when I push into my Hub branch it auto pushes to live. This is dangeous as now any local changes I make goes straight to live.

So I would like to have a middle ground, Stage

The simple way i believe to do this is create another branch, which will let me put all my sites folders in there. Then on the server just create a sub domain and have everything in there.

share|improve this question
up vote 3 down vote accepted

New branch in Git does not create new folder: this is logical change in metadata, not in physical representation

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.