commit de25a6106ad608b69412c95fa0c4affe6c8c3ac6 from: Stefan Sperling date: Thu Jun 22 08:34:25 2023 UTC explain why the first 'got clone' example in got.1 will often fail commit - 77a54eed10d82b08ac3902b29ff491ef053169ca commit + de25a6106ad608b69412c95fa0c4affe6c8c3ac6 blob - f6ba97cb74fbc7e6a57f575c6468ef0fed2550d7 blob + 785cef7abb14809b005cec30c4c76f9901154c6f --- got/got.1 +++ got/got.1 @@ -3288,11 +3288,16 @@ command names in .Dl $ set -A complete_got_1 -- $(got -h 2>&1 | sed -n s/commands://p) .Pp Clone an existing Git repository for use with -.Nm . +.Nm : .Pp .Dl $ cd /var/git/ .Dl $ got clone ssh://git@github.com/openbsd/src.git .Pp +Unfortunately, many of the popular Git hosting sites do not offer anonymous +access via SSH. +Such sites will require an account to be created, and a public SSH key to be +uploaded to this account, before repository access via ssh:// URLs will work. +.Pp Use of HTTP URLs currently requires .Xr git 1 : .Pp