How do you abort or continue a merge, rebase or cherry-pick that has conflicts?
IntermediateConceptMerge, rebase and cherry-pick
Answer
Each has --abort, --continue and (rebase, cherry-pick) --skip. The state lives in .git/rebase-merge, .git/MERGE_HEAD or .git/CHERRY_PICK_HEAD. git status always tells you which operation is in progress.
git rebase --abort
git merge --continue
git cherry-pick --skip
More on Merge, rebase and cherry-pick
What is the difference between a fast-forward merge and a merge commit?BeginnerHow does a three-way merge work?IntermediateWhat does `git rebase` actually do?IntermediateMerge versus rebase: how do you decide?IntermediateWhat are squash merge, merge commit and rebase-and-merge on GitHub?IntermediateWhy does a squash-merged branch show as unmerged to `git branch --merged`?Intermediate