All of lore.kernel.org
 help / color / mirror / Atom feed
* Difference between pull --rebase and fetch+rebase
@ 2010-01-07 12:23 martinvz
  2010-01-07 12:58 ` martinvz
  2010-01-07 16:00 ` Santi Béjar
  0 siblings, 2 replies; 8+ messages in thread
From: martinvz @ 2010-01-07 12:23 UTC (permalink / raw)
  To: git


I have a branch configured to track a remote branch by rebasing. I excepted
that "git pull" would therefore be equivalent to fetching from the remote
repository followed by rebasing the remote branch, but it isn't. When doing
"git rebase <remote>/<branch>", it applies only the commits after the merge
base. When doing "git pull", it tries to apply two more commits (the two
commits preceding the merge base). Why is this?

I get the same result even if I do "git pull --rebase <remote> <branch>", it
doesn't seem to have anything to do with incorrect configuration of the
branch.
-- 
View this message in context: http://old.nabble.com/Difference-between-pull---rebase-and-fetch%2Brebase-tp27059158p27059158.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-08 19:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-07 12:23 Difference between pull --rebase and fetch+rebase martinvz
2010-01-07 12:58 ` martinvz
2010-01-07 16:00 ` Santi Béjar
2010-01-07 18:44   ` martinvz
2010-01-07 22:33     ` Santi Béjar
2010-01-07 23:38       ` martinvz
2010-01-08 11:05         ` Santi Béjar
2010-01-08 19:41           ` martinvz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.