All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange branch merging.
@ 2009-02-12 11:52 Adam Panayis
  2009-02-12 12:27 ` Pieter de Bie
  2009-02-12 13:08 ` Sitaram Chamarty
  0 siblings, 2 replies; 6+ messages in thread
From: Adam Panayis @ 2009-02-12 11:52 UTC (permalink / raw)
  To: git

Hi, I have just started using git and am having  a problem with 2 
branches appearing merged.

I have a local machine, on this I have 2 branches. The master and one 
named blah. My git repository is in the following location: /git/.git/

I have made changes to a file on the blah branch and committed these 
changes.

I checkout the master branch and as expected the changes are no longer 
there. I flip back to blah and I can see my changes. So far so good.

I then, on a remote machine use the pull command, the remote machine 
shows only the master branch as I have not asked it to pull blah. The 
command I use is as follows: git pull -v ssh://user@machine one/git/.git/

Once this is done I double check my branches and it shows I still only 
have the master. Perfect. However, when I check the file I edited on my 
local machine on the blah branch, the changes are there.

Am I fundamentally misunderstanding the correct usage of git? Is this 
result expected?

Thanks

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

end of thread, other threads:[~2009-02-12 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 11:52 Strange branch merging Adam Panayis
2009-02-12 12:27 ` Pieter de Bie
2009-02-12 12:40   ` Adam Panayis
2009-02-12 12:42     ` Pieter de Bie
2009-02-12 12:59       ` Adam Panayis
2009-02-12 13:08 ` Sitaram Chamarty

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.