[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: Resetting working files
From:       Alex Riesen <raa.lkml () gmail ! com>
Date:       2009-05-31 21:30:10
Message-ID: 81b0412b0905311430v7874013cm6db84bd12d749134 () mail ! gmail ! com
[Download RAW message or body]

2009/5/31 Nicolas Sebrecht <nicolas.s.dev@gmx.fr>:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic