Git代理加速


 
 
 

Git同步Github速度较慢,可以使用梯子加速,修改用户文件夹下面的.gitconfig

[http]
	proxy = socks5://127.0.0.1:1080
	sslVerify = false
[https]
	proxy = socks5://127.0.0.1:1080

或者通过命令行输入

git config --global http.proxy socks5://127.0.0.1:1086
git config --global https.proxy socks5://127.0.0.1:1086
git config --global http.sslVerify false

取消的话

git config --global --unset http.proxy 
git config --global --unset https.proxy


查看原文:http://wordpress.haisong.work/?p=181


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM