From: mfine <eboats@gmail.com>
To: git@vger.kernel.org
Subject: HEAD file location
Date: Tue, 24 Jan 2012 03:42:46 +0000 (UTC) [thread overview]
Message-ID: <loom.20120124T043119-263@post.gmane.org> (raw)
I'm working on a Git project and had a question about HEAD.
In our remote Git repository, I see the file
git_repo_home/HEAD
and another file
git_repo_home/refs/heads/HEAD
The content of the former file is refs/heads/master which looks ok because
we want HEAD pointing at master.
However, should the latter file exist? I had thought only branches
should exist in /refs/heads and HEAD isn't a branch right? I'm wondering
if we erroneously created a HEAD branch.
Thanks for any help!
next reply other threads:[~2012-01-24 3:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-24 3:42 mfine [this message]
2012-01-24 3:52 ` HEAD file location Sitaram Chamarty
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=loom.20120124T043119-263@post.gmane.org \
--to=eboats@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 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).