Branch exists locally, but not in the origin
When I enter a folder on my server, and type git branch
command, I see the following result:
*develop
something_else
master
But when I enter my repository on bitbucket, I see that branch develop is not there. There's dev branch instead. Same thing in sourcetree.
What's wrong?
You need to push to the remote:
git push -u origin <your branch name>
should do it.
More info here
Maybe branch develop is created by you in your local repo.
It is not yet pushed into your origin.
链接地址: http://www.djcxy.com/p/4648.html上一篇: 我如何创建自己的Git分支来处理?
下一篇: 分支存在于本地,但不在原点