How to create a git branch on remote git server

We may need to maintain a dev-name branch on git remote server to share your codes. How to create the branch?

asked Dec 10, 2014 by harryxiyou (5,740 points)

1 Answer

1, git checkout -b your_branch_name
2, Do your changes, add commit
3, git push origin your_branch_name

References:
http://stackoverflow.com/questions/1519006/how-do-you-create-a-remote-git-branch

answered Dec 10, 2014 by harryxiyou (5,740 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...