cannot git clone into /usr/ports when separate filesystem

Felix Palmen felix at palmen-it.de
Tue Apr 6 12:30:39 UTC 2021


* Marco Beishuizen <mbeis.bsd at xs4all.nl> [20210406 14:25]:
> On Tue, 6 Apr 2021, the wise Helge Oldach wrote:
> 
> > cd /usr/ports
> > git init .
> > git remote add -t main -f freebsd https://git.freebsd.org/ports.git
> 
> This created new .git subdirectories but still cannot clone into /usr/ports.

This is meant to avoid cloning, you can just `pull` after adding a
remote to an empty repository.

-- 
 Dipl.-Inform. Felix Palmen  <felix at palmen-it.de>   ,.//..........
 {web}  http://palmen-it.de  {jabber} [see email]   ,//palmen-it.de
 {pgp public key}     http://palmen-it.de/pub.txt   //   """""""""""
 {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20210406/7226f9f9/attachment.sig>


More information about the freebsd-ports mailing list