Moving from svn to git for downloading source

Montgomery-Smith, Stephen stephen at missouri.edu
Thu Jan 7 00:30:44 UTC 2021


On 1/6/21 4:20 PM, Montgomery-Smith, Stephen wrote:
> WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
> 
> 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

The above is all you need.  Once you have performed the clone and the
checkout, the only command you need to remember is "git pull."


More information about the freebsd-questions mailing list