how to exit out of merge conflicts git code example Example 1: git merge abort git merge --abort Example 2: abort merge git git merge --abort