Git refusing to merge unrelated histories on rebase

后端 未结 23 2794
旧巷少年郎
旧巷少年郎 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:54

    I had the same problem. Try this:

    git pull origin master --allow-unrelated-histories 
    
    git push origin master
    

提交回复
热议问题