Skip to content

Commit d9aa361

Browse files
Miklos Vajnagitster
authored andcommitted
man: git pull -r is a short for --rebase
Letting the "--rebase" option squat on the short-and-sweet single letter option "-r" was an unintended accident and was not even documented, but the short option seems to be already used in the wild. Let's document it so that other options that begin with "r" would not be tempted to steal it. Signed-off-by: Miklos Vajna <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 785ee49 commit d9aa361

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/git-pull.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ include::merge-options.txt[]
101101

102102
:git-pull: 1
103103

104+
-r::
104105
--rebase::
105106
Rebase the current branch on top of the upstream branch after
106107
fetching. If there is a remote-tracking branch corresponding to

0 commit comments

Comments
 (0)