Skip to content

Commit 1db9793

Browse files
committed
[doc] git-cherry-pick: link to new merge conflicts guide
Remove the discussion of merge conflicts and replace it with a link to the guide. Signed-off-by: Julia Evans <julia@jvns.ca>
1 parent c004957 commit 1db9793

1 file changed

Lines changed: 4 additions & 19 deletions

File tree

‎Documentation/git-cherry-pick.adoc‎

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,9 @@ Given one or more existing commits, apply the change each one
1919
introduces, recording a new commit for each. This requires your
2020
working tree to be clean (no modifications from the HEAD commit).
2121

22-
When it is not obvious how to apply a change, the following
23-
happens:
24-
25-
1. The current branch and `HEAD` pointer stay at the last commit
26-
successfully made.
27-
2. The `CHERRY_PICK_HEAD` ref is set to point at the commit that
28-
introduced the change that is difficult to apply, unless the
29-
`--no-commit` option was given.
30-
3. Paths in which the change applied cleanly are updated both
31-
in the index file and in your working tree.
32-
4. For conflicting paths, the index file records up to three
33-
versions, as described in the "TRUE MERGE" section of
34-
linkgit:git-merge[1]. The working tree files will include
35-
a description of the conflict bracketed by the usual
36-
conflict markers `<<<<<<<` and `>>>>>>>`.
37-
5. No other modifications are made.
38-
39-
See linkgit:git-merge[1] for some hints on resolving such
40-
conflicts.
22+
When it is not obvious how to apply a change, there may
23+
be a merge conflict. See linkgit:gitmergeconflicts[7]
24+
(or `git help mergeconflicts`) for a guide to handling merge conflicts.
4125

4226
OPTIONS
4327
-------
@@ -259,6 +243,7 @@ $ git cherry-pick -Xpatience topic^ <4>
259243
SEE ALSO
260244
--------
261245
linkgit:git-revert[1]
246+
linkgit:gitmergeconflicts[7]
262247
263248
GIT
264249
---

0 commit comments

Comments
 (0)