git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cogito "origin" vs. HEAD
@ 2005-05-03  3:24 Benjamin Herrenschmidt
  2005-05-03  6:49 ` Petr Baudis
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-03  3:24 UTC (permalink / raw)
  To: Git Mailing List

Hi !

So it's my understanding that linus only uses this HEAD that symlinks
to .git/refs/heads/master as his head of tree.

However, when using cogito, it creates another one here called "origin"
that matches the "origin" branch (I don't like "branch" here, it's more
like a source of objects than a branch...) locally. Is this actually the
content of the remote's HEAD or is git also looking for a remote
"refs/heads/origin" ?

So when I later do cg-pull or cg-update origin to update, my "origin"
pointer is updated I suppose to the new head of the remote repository,
does it also update my local "refs/heads/master" ? Or not ? What happens
to it ? does anything will use my local HEAD -> refs/heads/master/
ever ? If I want to publish my tree, what will remote cogito's try to
rsync down ? HEAD ? origin ?

Ben.



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

end of thread, other threads:[~2005-05-03 23:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-03  3:24 cogito "origin" vs. HEAD Benjamin Herrenschmidt
2005-05-03  6:49 ` Petr Baudis
2005-05-03  7:13   ` Benjamin Herrenschmidt
2005-05-03  9:06     ` Alexey Nezhdanov
2005-05-03  9:47     ` Petr Baudis
2005-05-03 23:49       ` Benjamin Herrenschmidt

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).