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?

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


Answered by harryxiyou.

Weiwei Jia

Weiwei Jia is a Ph.D. student in the Department of Computer Science at New Jersey Institute of Technology since 2016. His research interests are include storage systems, operating systems and computer systems.

Leave a Reply

Your email address will not be published. Required fields are marked *