git 自动合并中止时遇到问题
Facing issue in git auto merge abort
我正在使用以下命令通过 'git am --continue ' 命令应用补丁。它没有执行成功。我尝试使用以下命令中止该过程。
git am --abort
但我遇到以下错误:
Resolve operation not in progress, we are not resuming.
请建议如何解决这个问题。
it shows 'nothing to commit working directory clean
然后检查您的历史记录:git log
,寻找在 git am
过程中创建的新提交。
- 如果有none,您可以再次尝试应用您的补丁。
- 如果有,并且其内容不符合您的喜好,you can throw it away并重试您的补丁。
我正在使用以下命令通过 'git am --continue ' 命令应用补丁。它没有执行成功。我尝试使用以下命令中止该过程。
git am --abort
但我遇到以下错误:
Resolve operation not in progress, we are not resuming.
请建议如何解决这个问题。
it shows 'nothing to commit working directory clean
然后检查您的历史记录:git log
,寻找在 git am
过程中创建的新提交。
- 如果有none,您可以再次尝试应用您的补丁。
- 如果有,并且其内容不符合您的喜好,you can throw it away并重试您的补丁。