[PATCH v2 5/6] doc: git-cherry-pick: link to new merge conflicts guide
- From
Julia Evans via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Oct 9, 2026, 12:00 UTC
- Message-ID
- <62b70e9a02dfc9c5b5c980b71bb0507fa20cc0b9.1791547213.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.2237.v2.git.1791547213.gitgitgadget@gmail.com>
From: Julia Evans <julia@jvns.ca>
Remove the discussion of merge conflicts and replace it with a link to the guide.
Signed-off-by: Julia Evans <julia@jvns.ca> --- Documentation/git-cherry-pick.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-cherry-pick.adoc b/Documentation/git-cherry-pick.adoc index f4cd8b9db7..1834167287 100644 --- a/Documentation/git-cherry-pick.adoc +++ b/Documentation/git-cherry-pick.adoc @@ -19,8 +19,11 @@ Given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no modifications from the HEAD commit). -When it is not obvious how to apply a change, the following -happens: +When it is not obvious how to apply a change, there may +be a merge conflict. See linkgit:gitmergeconflicts[7] +(or `git help mergeconflicts`) for a guide to handling merge conflicts. + +When a merge conflict happens: 1. The current branch and `HEAD` pointer stay at the last commit successfully made. @@ -36,9 +39,6 @@ happens: conflict markers `<<<<<<<` and `>>>>>>>`. 5. No other modifications are made. -See linkgit:git-merge[1] for some hints on resolving such -conflicts. - OPTIONS ------- <commit>...:: @@ -259,6 +259,7 @@ $ git cherry-pick -Xpatience topic^ <4> SEE ALSO -------- linkgit:git-revert[1] +linkgit:gitmergeconflicts[7] GIT ---
-- gitgitgadget