TENCHIANG / blog

issue blog
10 stars 1 forks source link

Git使用技巧 #52

Open TENCHIANG opened 5 years ago

TENCHIANG commented 5 years ago

git代理的设置和取消

git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'

参考: git 设置和取消代理