Command
git merge --abort
Attempt to reconstruct the pre-merge state during an unfinished merge. Preexisting uncommitted changes may be difficult or impossible to recover.
Formal Syntax & Structure
git syntaxgit
git merge --abortWorking Example
Example Snippetgit
git merge --abort