On Thu, Nov 17, 2011 at 10:19 PM, David Aguilar <[email protected]> wrote:
> On Nov 17, 2011, at 9:11 PM, PJ Weisberg <[email protected]> 
> wrote:
>
>> I'm looking for something in Git analogous to the revision numbers in
>> Subversion.  Pretty much exactly what you get from `git describe', but
>> I don't want it to be dependent on any tags or refs.  Is there any way
>> to get something like that out of Git?
>>
>> -PJ
>
> git rev-parse HEAD

a019c73ec854f45119c6e907571c04ac7f6b8885
7718a7ec90a8fa78334254ddbf9d0d9d82f7d31d
7f785f315845907e926cddb8aa4b831b4348e19b
e1e448fd7f24eccc8eac8bc533a9edd04fa966dc

Which of these is most recent?

The more I think about it, though, the more I think I could probably
get away with using a timestamp for what I had in mind.

-PJ

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to