Git commits/revisions: sequential numbering: git-rev-list(1) --count

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Thu, 24 Dec 2020 15:41:11 +0000
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
Received on Thu Dec 24 2020 - 14:41:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC