Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git shows (master|REVERTING) in command bar after reverting

Git shows (master|REVERTING) in command bar after reverting my code. How can I get rid off that?

like image 316
abdulnasar Avatar asked Apr 21 '15 07:04

abdulnasar


1 Answers

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

--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.

like image 64
CodeWizard Avatar answered Sep 19 '22 13:09

CodeWizard