difference between origin/branch_name and branch_name?

前端 未结 4 1798
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 02:26

for pushing to bitbucket.

If I do: git push origin origin/branch_name my commits are not pushed.

Total 0 (delta 0), reused 0 (delta 0)
<         


        
4条回答
  •  感动是毒
    2020-11-29 02:50

    origin is whats stored remotely on github

    without origin is what is stored locally on your computer

    when you commit 1st you are commit locally to your computer

    when you push origin branch name you are pushing to github

提交回复
热议问题