git and the loss of revision numbers

Pete Wright pete at nomadlogic.org
Tue Dec 29 00:56:03 UTC 2020


On 12/28/20 4:38 PM, monochrome wrote:
> what would be the git command for reverting source to a previous 
> version using these numbers? for example, with svn and old numbers:
> svnlite update -r367627 /usr/src
>
I will generally just checkout the short git hash like so in my local 
checkout:
$ git checkout gb81783dc98e6

you can quickly get the hashes by running "git log" from your checkout.

cheers,
-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-current mailing list