bitjian / learn_note

学习笔记
0 stars 0 forks source link

git配置vpn代理 #9

Open bitjian opened 9 months ago

bitjian commented 9 months ago

git配置vpn代理

连接vpn后git不能提交代码,报错显示Failed to connect to github.com port 443: Timed out
配置在 git config 配置vpn代理即可

git config --global http.proxy 127.0.0.1:[vpn_port]
git config --global https.proxy 127.0.0.1:[vpn_port]