Re: Resetting working files
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- May 31, 2009, 21:30 UTC
- Message-ID
- <81b0412b0905311430v7874013cm6db84bd12d749134@mail.gmail.com>
- In-Reply-To
- <20090531173932.GA13856@vidovic>
2009/5/31 Nicolas Sebrecht <nicolas.s.dev@gmx.fr>:
Show 5 quoted lines
> The 31/05/09, Aaron Gray wrote: >> >> I think index is HEAD or a revision hash. Am I correct ? > > HEAD is a reference to a branch name:
Not really. Try "git checkout HEAD^" and run cat .git/HEAD
It is more a pointer to a commit. The pointers to a commit in git are allowed to be indirect by referencing other pointers.