git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Git Mailing List <git@vger.kernel.org>
Subject: cogito "origin" vs. HEAD
Date: Tue, 03 May 2005 13:24:19 +1000	[thread overview]
Message-ID: <1115090660.6156.56.camel@gaston> (raw)

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.



             reply	other threads:[~2005-05-03  3:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03  3:24 Benjamin Herrenschmidt [this message]
2005-05-03  6:49 ` cogito "origin" vs. HEAD 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1115090660.6156.56.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).