IDEA git pull時報錯:fatal: refusing to merge unrelated histories的処理方法
報錯:
処理方法:
terminal,輸入:
git merge --allow-unrelated-histories
搞定。
2. 其他情況:有文件沖突,比如:
那我們繼續:找到這個 README.MD ,右鍵-git-resolve Conflicts , Accept Theirs,如果你覺得你的好,就Accept Yours。
3. idea Commit,顯示成功,就對了。 All files are up-to-date~~
0條評論