还原后,Git在命令栏中显示(master | REVERTING) [英] Git shows (master|REVERTING) in command bar after reverting
问题描述
恢复我的代码后,Git在命令栏中显示(master | REVERTING).我该如何摆脱呢?
Git shows (master|REVERTING) in command bar after reverting my code. How can I get rid off that?
推荐答案
您正在还原.您可以执行以下任一操作:
you are in a middle of a revert. you can do any of the following:
git revert --continue / --quit / --abort
我认为您的意思是中止并取消"还原
I assume that you mean to do abort and "cancel" the revert
-继续
使用.git/sequencer中的信息继续进行中的操作.解决失败的樱桃选择或还原中的冲突后,可用于继续操作.
--continue
Continue the operation in progress using the information in .git/sequencer. Can be used to continue after resolving conflicts in a failed cherry-pick or revert.
-退出
忘记当前正在进行的操作.樱桃拾取或还原失败后,可用于清除音序器状态.
--quit
Forget about the current operation in progress. Can be used to clear the sequencer state after a failed cherry-pick or revert.
-中止
取消操作并返回到先序状态.
--abort
Cancel the operation and return to the pre-sequence state.
这篇关于还原后,Git在命令栏中显示(master | REVERTING)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!