Skip to content

Commit 8c5f7db

Browse files
committed
Merge branch 'ts/merge-orig-head-doc-fix'
Doc fix. * ts/merge-orig-head-doc-fix: docs: correct ORIG_HEAD example in "git merge" documentation
2 parents 18cd756 + 953049e commit 8c5f7db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/git-merge.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Assume the following history exists and the current branch is
2828
`master`:
2929

3030
------------
31-
A---B---C topic
32-
/
31+
A---B---C topic
32+
/
3333
D---E---F---G master
3434
------------
3535

@@ -38,11 +38,11 @@ Then `git merge topic` will replay the changes made on the
3838
its current commit (`C`) on top of `master`, and record the result
3939
in a new commit along with the names of the two parent commits and
4040
a log message from the user describing the changes. Before the operation,
41-
`ORIG_HEAD` is set to the tip of the current branch (`C`).
41+
`ORIG_HEAD` is set to the tip of the current branch (`G`).
4242

4343
------------
44-
A---B---C topic
45-
/ \
44+
A---B---C topic
45+
/ \
4646
D---E---F---G---H master
4747
------------
4848

0 commit comments

Comments
 (0)