gitはコードをプルせずにコミットし、エラーが再表示されます:リベースでプルできません:インデックスにコミットされていない変更が含まれています。

エラー内容

$ git pull --rebase
error: cannot pull with rebase: Your index contains uncommitted changes.
error: please commit or stash them.

アプローチ

git stash 
git pull --rebase 
git stash pop

或
git stash  后 在  idea 重新拉代码就好了

おすすめ

転載: blog.csdn.net/qq_41463655/article/details/109242521