git submits without pulling the code and reappears error: cannot pull with rebase: Your index contains uncommitted changes.

Error content

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

Approach

git stash 
git pull --rebase 
git stash pop

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

Guess you like

Origin blog.csdn.net/qq_41463655/article/details/109242521