美文网首页
SourceTree git 配置代理

SourceTree git 配置代理

作者: 强行天下l | 来源:发表于2022-04-02 19:35 被阅读0次

github一般需要科学上网,通过SourceTree通过URL克隆,会提示无效URL或者SLL Timeout之类,如果电脑开启了VPN,在系统设置-网络-DNS查看代理端口,如:127.0.0.1:7890

手动配置git代理

git config --global http.proxy http://127.0.0.1:7890

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

扩展信息-取消代理:

git config --global --unset http.proxy 

git config --global --unset https.proxy 

相关文章

网友评论

      本文标题:SourceTree git 配置代理

      本文链接:https://www.haomeiwen.com/subject/offxsrtx.html