我使用 IntelliJ 作為 IDE 和 Mac 上的終端來執行 Github 命令。我做了一個git rebase -i origin/main,有一些沖突和一個錯誤說:
error: could not apply 7d4bdfs7...
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
如何在 IntelliJ 中顯示這些沖突,以便我可以手動合并它們?
uj5u.com熱心網友回復:
從
從那里,單擊這些條目之一為您提供解決合并沖突的視窗:

從討論中,OP 確認:
IntelliJ 花了一些時間來顯示合并沖突。
我上次等的時間不夠長,這就是為什么它是空的。
uj5u.com熱心網友回復:
您可以安裝git gui. 之后,要查看更改或沖突,只需運行 command git gui,它將在基于 GUI 的視圖中顯示所有更改/未提交的檔案。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/351148.html
