简体   繁体   中英

Setting up git branches

Hi I have setup git on my local machine.

So I can now fully develop locally and push my files to master origin.

but I'd like to be able to commit my files from local to a stage folder on remote, and then from there create a branch with all the files that goes to production. any ideas on how i can establish this ? I am very new to git. (just learned hot to commit, that new lol)

You don't really on your remote. You make changes locally and push them to the remote. So in your case, you set the branches up the way you want in your local repository and push the ones you want to to the remote.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM