Re: how to checkout ports for 14-stable

From: Frank Seltzer <frank_s_at_bellsouth.net>
Date: Fri, 01 Dec 2023 18:22:39 UTC
On Thu, 30 Nov 2023 20:24:47 -0500 (EST)
AN <andy@neu.net> wrote:

> Hi:
> 
> I just upgraded a system to src 14-stable.  What is the exact command
> to checkout and track the 14-stable branch of ports?
> 
> 
> 
> # git clone -o freebsd -b stable-14 --depth=1
> https://git.freebsd.org/ports.git /usr/ports
> Cloning into '/usr/ports'...
> warning: Could not find remote branch stable-14 to clone.
> 
> # uname -aK
> FreeBSD sparc 14.0-STABLE FreeBSD 14.0-STABLE #2 stable/14-60314995e:
> Thu Nov 30 14:48:06 EST 2023
> root@sparc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400501
> 
> Thanks in advance for any help.

Start with
git clone -o freebsd https://git.freebsd.org/ports.git /usr/ports
to install the repository in /usr/ports

git -C /usr/ports
will install the latest updates.