Branches have apparently diverged, but commit history is identical

前端 未结 1 394
广开言路
广开言路 2021-02-02 06:40

git status tells me that my branch and the one I started from on another repository have diverged:

# On branch master
# Your branch and \'origin/mas         


        
相关标签:
1条回答
  • 2021-02-02 07:12

    It looks like you also forgot to update remote repositories. So do git remote update in rep_A (it will probably warn it is not fast-forward update as you seem to do rebase on both ends) and then the histories should be identical.

    0 讨论(0)
提交回复
热议问题