Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2024 02:46:03 -0500
From:      Karl Vogel <vogelke@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to git clone ports collection
Message-ID:  <Zbn6u1UO/ejqnCY7@furbag.my.domain>
In-Reply-To: <20240131061508.5nttnygaqrwvm6xi@yosemite.mars.lan>
References:  <20240131061508.5nttnygaqrwvm6xi@yosemite.mars.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zbn6u1UO/ejqnCY7>