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 <vmiklos@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Miklos Vajna 2012-08-16 11:50:18 +02:00 committed by Junio C Hamano
parent 785ee4960c
commit d9aa361043
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ include::merge-options.txt[]

:git-pull: 1

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