"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: bad path on github checkout error
To:
Ted Bullock <tbullock@comlore.com>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 4 Feb 2022 12:24:55 +0100

Download raw body.

Thread
On Fri, Feb 04, 2022 at 12:40:58AM -0700, Ted Bullock wrote:
> New bug,
> 
> I tried to checkout a new repository tonight with from github and got is
> complaining as follows:
> 
> $ got clone git@github.com:tbullock/OpenBSD-src.git

Got does not support this "alternative scp-style syntax", as Git calls
it in git-clone(1).

You need to specify a protocol scheme (ssh://) at the front.
You need to use a slash instead a colon.

A quick way to test URLs is with the -l option:

$ got clone -l ssh://git@github.com/tbullock/OpenBSD-src.git
Connecting to git@github.com
Host key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8
HEAD: refs/heads/master
refs/heads/master: be5ef64b1271055108e479f13d1a2405f04d0cf0
$