Date: Wed, 6 Jan 2021 16:55:20 -0600 From: Bob Willcox <bob@immure.com> To: "Montgomery-Smith, Stephen" <stephen@missouri.edu> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Moving from svn to git for downloading source Message-ID: <X/Y/2O%2B4Nn76M4NV@rancor.immure.com> In-Reply-To: <33d1f3c7-b97e-6bb6-60e6-a6bebb9b1eff@missouri.edu> References: <X/YZPCM8/gDdecSz@rancor.immure.com> <33d1f3c7-b97e-6bb6-60e6-a6bebb9b1eff@missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 06, 2021 at 10:20:25PM +0000, Montgomery-Smith, Stephen wrote: > On 1/6/21 2:10 PM, Bob Willcox wrote: > > > > Please excuse my rather late joining of the party and asking a question that has > > likely been answered (I've been sick and quite out of touch lately), but what is > > the proper/best way to download the freebsd source if you have been using svn for > > many years? Is there some quivalent command to 'svn co ...'? > > > > I have limited experience with git. But this is what I did. > > git clone https://git.freebsd.org/src.git /usr/src > cd /usr/src > git checkout stable/12 # or whatever you want > > >From time to time: > git pull > > If you want go to a particular "revision", you first do > git log > to see the list of commits. Then you do > git checkout <hash-number> > where <hash number> is the hex number that appears after "commit ". > > I'm posting this to the list, because people might reply with better > ways of doing things. I just "get by" with git. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Thanks. I'll give this a try on my test system to see if I can get it right. It does look more complicated than what I've been doing with svn for years. :( Bob -- Bob Willcox | It's possible that the whole purpose of your life is to bob@immure.com | serve as a warning to others. Austin, TX |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X/Y/2O%2B4Nn76M4NV>