其他分享
首页 > 其他分享> > 远程电脑git不能git clone(报443)

远程电脑git不能git clone(报443)

作者:互联网

当前电脑使用github报443,需要配置代理才能使用git clone

git config --global http.proxy http://127.0.0.1:1080
 
git config --global https.proxy http://127.0.0.1:1080

 注意吧后面的代理地址修改一下。

配置代理以后,当前codehub里的项目的git又不能使用,此时需要取消代理

git config --global --unset http.proxy

 和 

git config --global --unset https.proxy

 配置之后就能正常使用了

 

标签:git,http,443,clone,global,--,proxy,config
来源: https://www.cnblogs.com/wangpeng1201/p/15857287.html