git之我的配置

2020-10-26  本文已影响0人  Afra55

查看 git 用户名邮箱

git config user.name
git config user.email

修改 git 用户名邮箱

git config --global user.name "鸡蛋绝缘体"
git config --global user.email "email"

修改提交缓存大小(可选)

修改提交缓存大小为500M,或者更大的数字
git config --global http.postBuffer 524288000
# some comments below report having to double the value:
git config --global http.postBuffer 1048576000

配置git的最低速度和最低速度时间:

git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999

不压缩文件

git config --global core.compression 0

查看 git HTTP代理

git config --global http.proxy 
git config --global --unset https.proxy

取消 git HTTP代理

git config --global --unset http.proxy
git config --global --unset https.proxy
上一篇 下一篇

猜你喜欢

热点阅读