Not for committers.
Please treat this page as work in progress during the transition to Git.
rm /var/db/gitup/portsrm -r /usr/ports/*rm -r /usr/ports/.git*rm /usr/ports/.arcconfigrm /usr/ports/.portsnap.INDEXls -adhl /usr/ports/.*- remove anything else that no longer has a place.
Essentially:
- if the
/usr/ports/directory exists, it must be empty.
There's the option of zstd-19 for aggressive compression of future writes to your filesystem. Do this only if your computer is suitably specified. Example:
zfs set compression=zstd-19 copperbowl/usr/ports
git -C /usr clone -o freebsd -b main https://git.freebsd.org/ports.git ports
git -C /usr/ports pull --ff-only
– or if you also work with FreeBSD documentation and source files:
git -C /usr/doc pull --ff-only && git -C /usr/ports pull --ff-only && git -C /usr/src pull --ff-only
All of the options are reasonable. but I would recommend
--ff-onlyfor people that just want to build ports. If you are modifying files then --rebase=false is what I'd recommend.Without such options git will suggest
I use the 1st of those 3 options.