Skip to content

Correct mistakes in git-merge documentation #1940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Documentation/git-merge.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Assume the following history exists and the current branch is
`master`:

------------
A---B---C topic
/
A---B---C topic
/
D---E---F---G master
------------

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

------------
A---B---C topic
/ \
A---B---C topic
/ \
D---E---F---G---H master
------------

Expand Down
Loading