Browse Source

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 13 years ago committed by Junio C Hamano
parent
commit
d9aa361043
  1. 1
      Documentation/git-pull.txt

1
Documentation/git-pull.txt

@ -101,6 +101,7 @@ include::merge-options.txt[] @@ -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

Loading…
Cancel
Save