All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Subject: Question about bare repositories
Date: Fri, 16 Mar 2007 09:47:02 +0000	[thread overview]
Message-ID: <200703160947.03833.andyparkins@gmail.com> (raw)

Hello,

I'm having an understanding problem, rather than a git problem.  It came about 
because I was looking at a repository using gitweb.  The repository was bare, 
and happened to have HEAD pointing at an old branch that hadn't been updated 
for a long time.  I was confused because I wasn't seeing new commits.  Once I 
set HEAD to master in the bare repository, gitweb showed the new commits.

All that led me to this question, which isn't a criticism, but has exposed a 
hole in my understanding of git.

Why does a bare repository have/need a HEAD?



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

             reply	other threads:[~2007-03-16  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-16  9:47 Andy Parkins [this message]
2007-03-16 10:05 ` Question about bare repositories Junio C Hamano
2007-03-16 11:52   ` Andy Parkins
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=200703160947.03833.andyparkins@gmail.com \
    --to=andyparkins@gmail.com \
    --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 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.