Re: git-clone(1) after base 3e8619e535b6 for /usr/ports subdirectories
Date: Sun, 08 Feb 2026 03:17:04 UTC
That only works if don't already have a ports tree. What's there? Warner On Sat, Feb 7, 2026, 8:09 PM Graham Perrin <grahamperrin@gmail.com> wrote: > With recent installations of FreeBSD-CURRENT, traditional use of git no > longer works for /usr/ports. > > ---- > > root@sixteen:~ # git clone --depth 1 https://git.freebsd.org/ports.git > /usr/ports > > fatal: destination path '/usr/ports' already exists and is not an empty > directory. > root@sixteen:~ # freebsd-version -kru ; uname -mvKU > > 16.0-CURRENT > 16.0-CURRENT > 16.0-CURRENT > FreeBSD 16.0-CURRENT #0 main-n283549-6d37c3db62ba: Mon Feb 2 12:11:20 > UTC 2026 > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 1600011 1600011 > root@sixteen:~ > > ---- > > <https://freebsdfoundation.org/enhance-your-git-experience/> (bcr) > > <https://docs.freebsd.org/en/books/handbook/ports/#ports-using-git-method> > > < > https://github.com/freebsd/freebsd-src/commit/3e8619e535b61c99f0dc50cc6c7e237eb82a8be7> > > | > < > https://cgit.FreeBSD.org/src/commit/?id=3e8619e535b61c99f0dc50cc6c7e237eb82a8be7 > > > > >