cli.fail

Practice this fail.

Let’s unmerge this meeting.

Git · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Git · Intermediate

You started a merge from a clean working tree. It stopped with conflicts, and you want to abandon that in-progress merge. You have made no new edits to keep.

Let’s unmerge this meeting.

$ git status

You have unmerged paths.

How do you abandon the current conflicted merge?

3 attempts remaining

Read why this fix works

Let’s unmerge this meeting.

git merge --abort

merge --abort attempts to restore the state before the merge. Starting from a clean working tree avoids the difficulty of reconstructing unrelated uncommitted edits.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result