Moving master head to a branch

后端 未结 5 1282
刺人心
刺人心 2021-02-19 10:31

I have several feature branches and a master branch. Feature2 is done. Normally I would rebase (working with a remote SVN repo and would like to keep the history, so no regular

5条回答
  •  无人及你
    2021-02-19 11:21

    The update-ref is safe. A branch head is nothing more than a little "read me!" tag hung on a commit. It's purely by convention that git picks it up and hangs it on a different commit for you at times.

    Using git branch -f master G does not result in any visible changes

    What does git log --decorate --oneline --all say? git show master?

提交回复
热议问题