Re: [DRAFT] Branching and merging with git
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 17, 2006, 09:41 UTC
- Message-ID
- <ejk01n$l9u$1@sea.gmane.org>
- In-Reply-To
- <20061116221701.4499.qmail@science.horizon.com>
linux@horizon.com wrote:
> There is always a current head, known as HEAD. (This is actually a > symbolic link, .git/HEAD, to a file like refs/heads/master.)
Usually this is symref, not symlink, i.e. .git/HEAD (or rather $GIT_DIR/HEAD) is a file which contains single line like this:
ref: refs/heads/master
There is a talk about relaxing HEAD restriction to allow it to contain ref to tag, or bare SHA1 id for "seeking"; you are forbidden to commit to such state.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git