What would be the benefit of you having your local reverse count of 
commits? I.E Which git commands would actually use that information. 

Or perhaps maybe at the moment it's more of a comfort blanket desire 
because of the idiosyncratic nature of some of the git commands (it can be 
a battle...)

Philip

On Thursday, August 15, 2019 at 9:34:25 AM UTC+1, UWE RICHARD OTTO BRAUER 
wrote:
>
>
> Hi
>
> I am an occasionally git user and am very used to local revision numbers
> mercurial provides in its log command. I don't want to start the
> discussion whether  local revision numbers are useful or not, nor
> whether mercurial is better or not.
>
> I only want to know whether there is any possibility to have this number
> in the log.
>
> I have seen 
>
>
> https://stackoverflow.com/questions/4120001/what-is-the-git-equivalent-for-revision-number
>
> That 
> git rev-list --count HEAD
>
> But I would like to have it in the 
>
>  git log --graph --decorate
>
> So something like this 
>
> o  changeset:   5:d3ae13222c31
> |  tag:         tip
> |  user:        Uwe Brauer <o...@mat.ucm.es <javascript:>>
> |  date:        Wed Aug 14 14:23:29 2019 +0200
> |  summary:     Six
> |
> o  changeset:   4:64a3eee07e93
> |  user:        Uwe Brauer <o...@mat.ucm.es <javascript:>>
> |  date:        Wed Aug 14 14:23:28 2019 +0200
> |  summary:     Fifth
>
>
> Anybody know who to achieve it?
>
> I presume 
>
>  git checkout revnumber
>
> Would not work?
>
> I know that 
>
>  git checkout HEAD~somenumber
>
> Works
>
> Uwe Brauer 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/a682f443-4a08-4c36-af13-67db578919ea%40googlegroups.com.

Reply via email to