git config --system http.proxy 'http://xxxxxxxxx'
git config --system https.proxy 'http://xxxxxxxxx'
一、作用級別 git config < git config --global < git config --system
1.git config 對當前項目有效
2.git config --global 對當前登錄計算機的用戶
3.git config --system 對整臺計算機有效(所有項目和用戶)
二、優先級別 git config > git config --global > git config --system。