天天看点

Git 版本控制

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命令速查表

Git 版本控制

Git命令速查.jpg

3. git不用输入用户名和密码

git config --global credential.helper store
git pull /git push (这里需要输入用户名和密码,以后就不用啦)