Command
git revert --abort
Cancel an ongoing revert and restore its pre-operation state. Preserve useful resolution edits separately before abort.
Formal Syntax & Structure
git syntaxgit
git revert --abortWorking Example
Example Snippetgit
git revert --abort