Clarify git-rebase example commands.
Signed-off-by: Jon Loeliger <jdl@jdl.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
81ea3ce2ac
commit
228382aee4
@ -25,7 +25,7 @@ Assume the following history exists and the current branch is "topic":
|
|||||||
/
|
/
|
||||||
D---E---F---G master
|
D---E---F---G master
|
||||||
|
|
||||||
From this point, the result of the following commands:
|
From this point, the result of either of the following commands:
|
||||||
|
|
||||||
git-rebase master
|
git-rebase master
|
||||||
git-rebase master topic
|
git-rebase master topic
|
||||||
@ -36,7 +36,7 @@ would be:
|
|||||||
/
|
/
|
||||||
D---E---F---G master
|
D---E---F---G master
|
||||||
|
|
||||||
While, starting from the same point, the result of the following
|
While, starting from the same point, the result of either of the following
|
||||||
commands:
|
commands:
|
||||||
|
|
||||||
git-rebase --onto master~1 master
|
git-rebase --onto master~1 master
|
||||||
@ -58,7 +58,7 @@ OPTIONS
|
|||||||
<upstream>::
|
<upstream>::
|
||||||
Upstream branch to compare against.
|
Upstream branch to compare against.
|
||||||
|
|
||||||
<head>::
|
<branch>::
|
||||||
Working branch; defaults to HEAD.
|
Working branch; defaults to HEAD.
|
||||||
|
|
||||||
Author
|
Author
|
||||||
|
Loading…
Reference in New Issue
Block a user