【ROS错误记录】fatal: unable to access“https://github.com/ ***“

解决方案

sudo git clone http://github.com/cambel/ur3
warning: redirecting to https://github.com/cambel/ur3/
remote: Enumerating objects: 2943, done.
remote: Counting objects: 100% (511/511), done.
remote: Compressing objects: 100% (268/268), done.
remote: Total 2943 (delta 277), reused 429 (delta 213), pack-reused 2432
Receiving objects: 100% (2943/2943), 24.70 MiB | 9.34 MiB/s, done.
Resolving deltas: 100% (1686/1686), done.
具体的改动为

将https改为http

sudo可加可不加。

错误显示

git clone git://github.com/cambel/ur3

fatal: unable to connect to github.com:

github.com[0: 20.205.243.166]: errno=Connection refused

git clone https://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to access 'https://github.com/cambel/ur3/': gnutls_handshake() failed: Error in the pull function.

ping github.com

PING github.com (20.205.243.166) 56(84) bytes of data.

^C

--- github.com ping statistics ---

131 packets transmitted, 0 received, 100% packet loss, time 133117ms

sudo git clone https://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to access 'https://github.com/cambel/ur3/': gnutls_handshake() failed: Error in the pull function.

sudo git clone git://github.com/cambel/ur3

Cloning into 'ur3'...

fatal: unable to connect to github.com:

github.com[0: 20.205.243.166]: errno=Connection refused

你可能感兴趣的:(问题记录,git)