Re: using git to get a particular version of src

From: Chris <bsd-lists_at_bsdforge.com>
Date: Mon, 25 Jan 2021 09:21:44 -0800
On 2021-01-25 08:31, tech-lists wrote:
> Hi,
> 
> I have this version installed:
> 
> 13.0-CURRENT #0 2ed50808d2b-c254384(main): Thu Nov 12 10:03:35 UTC 2020
> 
> I'd like to get the sources for this (want to make a no-debug kernel) as I 
> know
> this version works on this hardware.
> 
> But -current has gone to 14 and what was -current is now 13-stable. What git
> incantation is required to get 2ed50808d2b-c254384 sources, given an empty
> /usr/src and git method of ssh://anongit_at_git.freebsd.org ?
I am by *no* means a GIT expert
but will
cd /usr/src
git up 2ed50808d2b
accomplish your intended task?

HTH
> 
> thanks,
Received on Mon Jan 25 2021 - 16:21:23 UTC

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