On Fri, 18 Nov 2011 12:20:03 -0800
PJ Weisberg <p...@irregularexpressions.net> 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?
> > git rev-parse HEAD
> 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.
I'm curious about what do you have in mind; could you please explain?
This is interesting, because the property of revision identifiers in
Subversion being ordered in time is a by-product of them being
implemented as an ever-increasing per-repository integer number.
Instead, in DVCS systems, each commit (think of revision) explicitly
links to its parent commit(s) and so tools like `git log` or `gitk`
have no problems of ordering the commits "along the time axis".
Hence it appears you might be solving a problem which does not really
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 firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at