xmxn3559 / doc

1 stars 0 forks source link

git代理设置 #27

Open xmxn3559 opened 6 years ago

xmxn3559 commented 6 years ago

git config --global https.proxy 'http://172.16.2.10:8080'

xmxn3559 commented 6 years ago

git -c 'https.proxy=http://172.16.2.10:8080/' clone https://github.com/uvemas/ViTables.git 本地翻墙代理服务器位于172.16.2.10上,监听端口8080. 本地开发clone github项目之前需要设定如下命令:

git config --global http.proxy 'socks5://172.16.2.10:8080' git config --global https.proxy 'socks5://127.16.2.10:8080'