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

Working Example

Example Snippetgit
git revert --abort
Git Reference