Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

DEV/Local
LIVE

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

1 Answer 1

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

 
discard

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.