Git development
 help / color / mirror / Atom feed
From: "Anand Kumria" <wildfire@progsoc.org>
To: git@vger.kernel.org
Subject: when is a remote a branch?
Date: Sun, 12 Nov 2006 15:50:02 +0000 (UTC)	[thread overview]
Message-ID: <ej7fra$8ca$2@sea.gmane.org> (raw)

Hi,

I generally tend to use cogito -- it does all the heavy lifting, like
recovering from interrupted fetchs (usually) for me.  One thing I haven't
really gotten my head around is the difference between a branch and a
remote.

git-branch knows of 'remotes' (via the -r parameter) and these to be
unrelated to what cogito thinks remotes are (it seems to look for things
in .git/refs/head/<name> and then a corresponding .git/branches/<name>/
which it then declares a remote).

Yet, git-init-db creates both .git/remotes and .git/branches

What is the difference between the two. From my (naïve) perspective the
two tools (git and cogito) regarded them very differently.

Any explanation, or pointer to some documentation, would be helpful.

Thanks,
Anand

             reply	other threads:[~2006-11-12 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-12 15:50 Anand Kumria [this message]
2006-11-12 16:11 ` when is a remote a branch? Jakub Narebski
2006-11-12 16:36   ` Petr Baudis
2006-11-12 17:31     ` Jakub Narebski
2006-11-14 20:28       ` Petr Baudis
2006-11-14 20:36         ` Jakub Narebski
2006-11-14 20:44           ` Petr Baudis

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='ej7fra$8ca$2@sea.gmane.org' \
    --to=wildfire@progsoc.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