May 2022 Archives
Thu May 19 11:08:40 +07 2022
Upgrade FreeBSD source with git
The following steps are needed to
upgrade FreeBSD sources using git.
- Install git from the ports.
- Run it once to create the proper environment:
sudo git clone --branch releng/13.1 https://git.freebsd.org/src.git /usr/src
- Updates should be run with the command
cd /usr/src sudo git pull
- To change to a new release
cd /usr/src sudo git checkout releng/13.2