Git refusing to merge unrelated histories on rebase

后端 未结 23 2329
旧巷少年郎
旧巷少年郎 2020-11-22 08:30

During git rebase origin/development the following error message is shown from Git:

fatal: refusing to merge unrelated histories
Error redoing m         


        
23条回答
  •  抹茶落季
    2020-11-22 08:41

    WARNING THIS WILL POTENTIALLY OVERWRITE THE REMOTE REPOSITORY

    This worked for me:

    git push origin master --force
    

提交回复
热议问题