在git rebase origin/development以下错误消息从git显示:
fatal: refusing to merge unrelated histories
Error redoing merge 1234deadbeef1234deadbeef
Run Code Online (Sandbox Code Playgroud)
我的git版本是2.9.0.用于在以前的版本中正常工作.
如何通过新版本中引入的强制标记继续使用此rebase,从而允许不相关的历史记录?
从基于团队的Git远程存储库中提取时,我收到以下消息:
"C:\Program Files (x86)\Git\bin\git.exe" pull --progress "origin" +refs/heads/master:refs/remotes/origin/master
Updating 71089d7..4c66e71
error: Your local changes to the following files would be overwritten by merge:
Source/Reporting/Common/Common.Dal.csproj
Please, commit your changes or stash them before you can merge.
Aborting
Done
Run Code Online (Sandbox Code Playgroud)
Git中哪些规则(或功能),确保了我在工作目录中修改该文件确实不得到由拉覆盖?
换句话说,在什么情况下它会被拉动覆盖?或者...我需要做什么才能强制拉动覆盖我刚刚修改过的文件?