git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <junkio@cox.net>
Subject: Re: Question about bare repositories
Date: Fri, 16 Mar 2007 11:52:35 +0000	[thread overview]
Message-ID: <200703161152.37485.andyparkins@gmail.com> (raw)
In-Reply-To: <7vhcslv701.fsf@assigned-by-dhcp.cox.net>

On Friday 2007 March 16 10:05, Junio C Hamano wrote:
> Andy Parkins <andyparkins@gmail.com> writes:
> > Why does a bare repository have/need a HEAD?
>
> To mark which branch the repository owner considers the primary
> branch of the repository.  I think "git pull $URL" (i.e. without

Interesting.   So it's got a much reduced importance and sounds like it is 
mainly as guidance for cloners, etc.

> using shorthand arranged in the config nor $GIT_DIR/remotes/)
> defaults to fetching and merging HEAD from there, for example (I
> say "I think" because it's been a while I did so myself, and we
> might have broken it during the 1.5.0 process, which had a lot
> of work in that area).

Me too; I don't think I've ever used it, which is where my confusion came 
from.

Thanks for the help.


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com

  reply	other threads:[~2007-03-16 11:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-16  9:47 Question about bare repositories Andy Parkins
2007-03-16 10:05 ` Junio C Hamano
2007-03-16 11:52   ` Andy Parkins [this message]
2007-03-16 12:24     ` Johannes Schindelin

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=200703161152.37485.andyparkins@gmail.com \
    --to=andyparkins@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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).