[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: git clone https://... fails, git://... succeeds — ?



On 7/11/2018 11:12 AM, Zenaan Harkness wrote:
Anyone know why git is failing to clone with the HTTPS protocol (but
succeeds with the git protocol)?

Example:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
fatal: unable to access
'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
failed: Public key signature verification has failed.


whereas:

$ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
...


It is working fine here:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
Resolving deltas: 100% (288/288), done.
Checking out files: 100% (510/510), done.

Maybe:

https://superuser.com/questions/1250527/git-clone-stopped-working

As an aside, the '.git' is only for bare repositories.:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git

--
John Doe


Reply to: