How To Undo A Conflicting Merge in GIT

Author: , June 8th, 2021

shell> git merge branch-with-messy-changes

shell> git status

IMPORTANT NOTE: Previous versions of git used different commands for this operation: Latest version: git merge –abort Older than version 1.7.4: git reset –merge Older than version 1.6.2: git reset –hard