You started a merge, conflicts exploded across 30 files, and you realize you merged the wrong branch entirely.
`--abort` returns the repo to pre-merge state. No commits made, no shame.
Easy · 3 steps · +300 XP
This scenario walks through 3 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git merge feature-badgit merge --abortgit statusmerge/rebase/cherry-pick all have --abort. Use them.