Rebase stops: `error: could not apply 1a2b3c4... Add retry` and later `No changes - did you forget to use 'git add'?`
IntermediateTroubleshootingMerge and Rebase Problems
Answer
Likely causes → The first message is a normal conflict. The second appears when you run git rebase --continue but the resolved files were not staged, or the resolution made the commit empty.
Diagnose →
git status
git diff --name-only --diff-filter=U
git diff --cached --stat
Fix → git add <resolved files> then git rebase --continue. If the commit became empty because upstream already has the change, use git rebase --skip.
Prevent → Resolve, stage, and only then continue; check git status between each step.
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`Beginner`fatal: You have not concluded your merge (MERGE_HEAD exists).`Beginner`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