How do you create a remote Git branch?

后端 未结 23 2126
感情败类
感情败类 2020-11-22 13:31

I created a local branch which I want to \'push\' upstream. There is a similar question here on Stack Overflow on how to track a newly created remote branch.

Howeve

23条回答
  •  青春惊慌失措
    2020-11-22 13:54

    Now with git, you can just type, when you are in the correct branch

    git push --set-upstream origin >

    and git create for you the origin branch.

提交回复
热议问题