Git commits/revisions: sequential numbering: git-rev-list(1) --count
Graham Perrin
grahamperrin at gmail.com
Thu Dec 24 15:41:15 UTC 2020
On 24/12/2020 14:11, Michael Grimm wrote:
> … Disclaimer: I just started to learn git, never used it before.
>
> If I do understand it correctly, the switch from svn to git comes with a loss of continuously increasing revision numbers. Correct? …
Yes and no.
<https://old.reddit.com/comments/keme3b/-/ggs61in/?context=1> there's an
example command that shows a FreeBSD-CURRENT Git revision number of 11
following an update.
The phrase 'revision number' might be not technically accurate, but the
numbers _are_ sequential.
The command uses the '--count' option of
git-rev-list(1)
<https://www.freebsd.org/cgi/man.cgi?query=git-rev-list&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>
Re: uname(1), I'll respond to your second e-mail.
Kind regards
Graham
More information about the freebsd-current
mailing list