Ubuntu执行git clone没反应

Ubuntu执行git clone没反应

系统:Ubuntu 16.04 LTS
在执行git clone时,一直没反应,卡死在Cloing into ‘xxx’ …,如下图所示:
在这里插入图片描述
尝试运行ssh -T [email protected],能连接上github
在这里插入图片描述
解决方案:

  1. 将git替换成https,成功!
    Ubuntu执行git clone没反应_第1张图片
  2. 添加sudo(在网上看到的方法,但是对我没用,依旧卡死…)
    在这里插入图片描述

你可能感兴趣的:(Ubuntu,git,clone)