`fatal: You have not concluded your merge (MERGE_HEAD exists).`
BeginnerTroubleshootingMerge and Rebase Problems
Answer
Likely causes → A merge stopped on conflicts and you tried to pull, commit selectively or switch branches.
Diagnose → git status shows "You have unmerged paths"; ls .git/MERGE_HEAD exists.
Fix → Resolve conflicts, git add, then git merge --continue (or git commit). To abandon: git merge --abort.
Prevent → Keep the working tree clean before merging and finish what you start.
More on Merge and Rebase Problems
Production failed to start, and the file contains `<<<<<<< HEAD` lines that were committed.Beginner`error: you need to resolve your current index first`BeginnerRebase stops: `error: could not apply 1a2b3c4... Add retry` and later `No changes - did you forget to use 'git add'?`Intermediate`fatal: It seems that there is already a rebase-merge directory, and I wonder if you are in the middle of another rebase.`Intermediate`CONFLICT (modify/delete): config/old.yml deleted in HEAD and modified in feature.`Intermediate`CONFLICT (file/directory): There is a directory with name docs in HEAD. Adding docs as docs~feature instead.`Intermediate