设置git代理和port

Welcome to see my homepage and contact me: NicholasYe’s Homepage.


设置git代理

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

取消git代理

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

测试git连接

ssh -T git@github.com


版权声明:本文为NicholasYTZ原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。