1. 設定代理
git config --global http.proxy http://localhost:1080
git config --global https.proxy https://localhost:1080
git config --global http.SSLVERIFY false
2. Git指令速查表
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIyZlBnauETMmZWZ2kDOiFDNjZzM0YjZzAzYxkTO1gjM2YGNmZmNfdWbp9CXt92Yu4GZjlGbh5SZslmZxl3Lc9CX6MHc0RHaiojIsJye.jpeg)
Git指令速查.jpg
3. git不用輸入使用者名和密碼
git config --global credential.helper store
git pull /git push (這裡需要輸入使用者名和密碼,以後就不用啦)