虽然浏览器已经可以google了,但是要利用git bash中的git clonegithub repo上下时,仍然会出现time out,这是因为没有配置代理或者配置错误

how ?

case1:没有配置

  • 查看代理软件的端口
    git clone 下载出现Time out
  • 配置
git config --global http.proxy "localhost:1080"  
# 1080即上一步查看的端口号
  • 之后便可以正常下载了
    git clone 下载出现Time out

case2: 配置错误

  • 取消之前的配置
git config --global --unset http.proxy
git config --global --unset https.proxy
  • 重复case1的步骤

相关文章:

  • 2021-08-04
  • 2021-10-23
  • 2021-06-27
  • 2021-07-12
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-01-19
  • 2021-09-23
相关资源
相似解决方案