假设是本地代理服务器,port是代理服务器端口号,用户/密码是abc/123。
git config --global http.proxy http://abc:[email protected]:port
git config --global https.proxy http://abc:[email protected]:port
git clone https://xxx/base base
git config --global http.proxy http://abc:[email protected]:port
git config --global https.proxy http://abc:[email protected]:port
git clone https://xxx/base base