Git refusing to merge unrelated histories on rebase

后端 未结 23 2675
旧巷少年郎
旧巷少年郎 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 09:04

    Try the following command:

    git pull origin master --allow-unrelated-histories
    

    This should solve your problem.

提交回复
热议问题