「 GIT篇 」 八月 07, 2018
Git 使用 ss 代理和 Ubuntu 使用 ss 全局代理
文章字数 2k 阅读约需 2 mins.
这一段时间 GitHub 在国内的访问又出问题,代码提交不上去,需要在 Git 上走代理了
- 需要全局 git 都走代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
取消
git config --global --unset http.proxy
git config -...
查看全文