Git日常笔记
设置代理
设置全局代理
git config --global https.proxy <ProxyConfig>
针对网站设置代理
git config --global http.<url>.proxy <ProxyConfig>
例如,需要设置github的代理:
git config --global https.https://github.com/.proxy <ProxyConfig>
设置全局代理
git config --global https.proxy <ProxyConfig>
针对网站设置代理
git config --global http.<url>.proxy <ProxyConfig>
例如,需要设置github的代理:
git config --global https.https://github.com/.proxy <ProxyConfig>