Re: Unexpected/unexplained difference between git pull --rebase and git rebase
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2015, 23:15 UTC
- Message-ID
- <xmqq61ahad18.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150303214653.GQ890@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
Show 6 quoted lines
> git-rebase assumes that if you give an explicit upstream then you want > precisely what you asked for. From git-rebase(1): > > If either <upstream> or --root is given on the command line, > then the default is `--no-fork-point`, otherwise the default is > `--fork-point`.
Correct.
You ask it to rebase the history without guessing by being explicit; the command guesses when you are not explicit and being lazy ;-).