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 (这里需要输入用户名和密码,以后就不用啦)