git Config 相关设置
git是程序开发不可少的软件
设置邮箱和用户名
1 | git config --global user.email "maxcrazy1101@github.com" |
设置代理
有时候国内网络访问github会有连接超时错误,需要给git配置一下代理
http代理
1 | git config --global http.proxy 127.0.0.1:7890 |
socks5代理
1 | git config --global http.proxy socks5 127.0.0.1:7890 |
查看代理
1 | git config --global --get http.proxy |
取消代理
1 | git config --global --unset http.proxy |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Blog!
评论




