Re: git help

Colin Percival <[email protected]> Thu, 2 Apr 2026 17:57:27 +0000
Newsgroups gmane.os.freebsd.stable
Message-ID <0100019d4f57cb9e-aedb0e1c-6c82-40e4-bb92-9a99c3e96f84-000000@email.amazonses.com>
On 4/2/26 10:52, Per olof Ljungmark wrote:
> I need to checkout exactly this version:
> FreeBSD 15.0-STABLE stable/15-n282698-4311217a039c GENERIC amd64
> 
> What would be the git command to checkout this version nad only that? I am 
> sure git is perfect for developers but a bit overwhelming for a "user".

For reproducibility, the best option is

git clone --branch stable/15 https://git.freebsd.org/src.git /usr/src
cd /usr/src && git reset --hard 4311217a039c

-- 
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid