fatal: 无法访问 ‘https://github.com/moveit/moveit2_tutorials.git/‘:Failed to connect to github.com port

github在网页可以访问 命令行访问就报错,排除网络问题

正克隆到 'moveit2_tutorials'...
fatal: 无法访问 'https://github.com/moveit/moveit2_tutorials/':Failed  to connect to github.com port 443 after 44 ms: Couldn't connect to server

报错如上,没有登陆github ,网络浏览器登陆github,退出终端,不要退出登陆的github页面,重新开一个终端,

克隆成功

正克隆到 'moveit2_tutorials'...
remote: Enumerating objects: 8633, done.
remote: Counting objects: 100% (306/306), done.
remote: Compressing objects: 100% (207/207), done.
remote: Total 8633 (delta 146), reused 204 (delta 92), pack-reused 8327 (from 1)
接收对象中: 100% (8633/8633), 101.19 MiB | 3.54 MiB/s, 完成.
处理 delta 中: 100% (5286/5286), 完成.

直接下载解压就行,为什么还要用 clone 呢?

比方说如下命令就很难用下载压缩包解决

git clone --recurse-submodules https://github.com/leggedrobotics/hpp-fcl.git

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值