git client connect to github
设置代理
git config --global https.proxy=xxx.xx.com:端口
git config --global http.proxy=xxx.xx.com:端口
git config --global http.sslverify=false
设置登录密码
- 在用户目录建立一个 .git-credentials文件。
- windows一般是:c:/Users/username
- mac:/Users/username
- Linux:/home/username
- 在.git-credentials增加以下内容
- https://{用户名}:{密码}@github.com
- 修改git配置
git config --global credential.helper store