Git克隆代码出错
问题描述
sourceTree 克隆代码出错
failed to connect to github 443背景/环境
- sourchtree 版本: v4.2.13
根本原因分析
github无法访问,需要代理。
解决方案
- 设置代理
git config --global http.proxy 127.0.0.1:7897
git config --global https.proxy 127.0.0.1:7897- 查看代理
git config --global -l- 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy