git pull --rebase 报错 error: cannot pull with rebase: Your index contains uncommitted changes.
·
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 statusgit pullvi file-demogit add file-demogit commitgit pushgit status
更多推荐

所有评论(0)