git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Qn about git pull and git fetch
@ 2010-09-28 16:59 suvayu ali
  2010-09-28 17:33 ` Brian Gernhardt
  0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-09-28 16:59 UTC (permalink / raw)
  To: git

Hi everyone,

This is my first post to the list. I am a new (few months now) git
user and I use it for source code and notes for my research projects.
I noticed something during the course of my use. If I have a remote
tracking repository, and I do a `git pull origin master', the latest
changes are merged into my currently checked out branch. But the
references to the remote repo are not. So when I fire up gitk like
this, `gitk --all &' I don't see the latest commits for origin/master.
I have to manually run `git fetch origin' or `git remote update
origin' to see the updated commits in gitk.

This is not an inconvenience for me, just a little puzzling since the
man page says git pull runs `git fetch' followed by `git mege'. Just
out of curiosity, is there any reason for this choice?

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2010-09-28 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 16:59 Qn about git pull and git fetch suvayu ali
2010-09-28 17:33 ` Brian Gernhardt
2010-09-28 19:09   ` suvayu ali
2010-09-28 19:51   ` Eric Raible
2010-09-28 20:01     ` Brian Gernhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).