Re: Unable to git clone ports collection

From: Karl Vogel <vogelke_at_pobox.com>
Date: Wed, 31 Jan 2024 07:46:03 UTC
On Wed, Jan 31, 2024 at 01:15:26AM -0500, Paul M Foster wrote:

> I'm following the docs at docs.freebsd.org. There's a line which dictates:
> git clone https://git.freebsd.org/ports.git /usr/ports
> This results in a redirection error.

  Try doing it in two steps: download to a scratch directory, then copy
  to /usr/ports.  Fair warning -- it might take a bit of time:

    me% mkdir /tmp/ports
    me% cd /tmp/ports

    me% git clone https://git.freebsd.org/ports.git
        Cloning into 'ports'...
        remote: Enumerating objects: 6084351, done.
        remote: Counting objects: 100% (962/962), done.
        remote: Compressing objects: 100% (144/144), done.
        Receiving objects:   0% (40191/6084351), 12.20 MiB | 627.00 KiB/s
        ...

-- 
Karl Vogel                      I don't speak for anyone but myself

There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists.
       --overheard during development of bear-proof trashcans at Yellowstone