异常: 在GitHub 执行 git clone 失败
1.首先检查是否登陆github ,setting -》 添加 ssh
查看本地ssh:
cd ~/.ssh
cat id_rsa.pub
2.如果失败 ,尝试配置全局ip
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
3.如果找不到github.com
ping github.com
在/etc/hosts 配置