git | CSIM Technical Notes

Thu May 19 11:08:40 +07 2022

Upgrade FreeBSD source with git

The following steps are needed to upgrade FreeBSD sources using git.
  1. Install git from the ports.
  2. Run it once to create the proper environment:
    sudo  git clone --branch releng/13.1 https://git.freebsd.org/src.git /usr/src
    
  3. Updates should be run with the command
    cd /usr/src
    sudo git pull
    
  4. To change to a new release
    cd /usr/src
    sudo git checkout releng/13.2
    

Posted by Olivier | Permanent link | File under: administration, freebsd