git不能压缩提交

Pan*_*hen 7 git rebase

我无法压缩提交git rebase -i command,收到以下错误消息.

error: could not apply 3ad5c7b... 

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To check out the original branch and stop rebasing run "git rebase --abort".
Run Code Online (Sandbox Code Playgroud)

什么是错误以及如何解决?

jas*_*sir 6

Git无法自动合并.尝试git mergetool解决冲突,然后继续使用git rebase --continue


Wil*_*uta 0

可能您以前使用过git rebase但没有完成它。要验证它,请键入__git_ps1并验证单词 rebase 是否出现。要解决此问题,您需要中止之前的变基并git rebase --abort应用所需的变基。