Moving from svn to git for downloading source

Graham Perrin grahamperrin at gmail.com
Thu Jan 7 08:08:25 UTC 2021


On 06/01/2021 22:55, Bob Willcox wrote:

>> 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


Through trial, error and correction, for FreeBSD-CURRENT I have these 
for myself:

<https://old.reddit.com/comments/keme3b/-/ghxggjm/> for the initial 
clone – terse

<https://old.reddit.com/comments/keme3b/-/ggk4we2/> for updating prior 
to a build. Verbose, which you might find useful whilst experimenting on 
your test system, however as Robert Huff and others (elsewhere) point 
out: ultimately, it's not complicated. If you want something terse from 
this comment in Reddit, you might take the tail of step (4):


git -C /usr/src pull --ff-only


Simple :-) … famous last words …



More information about the freebsd-questions mailing list