Git问题汇总
1.取消全局代理
一般报错Failed to connect to github.com port 443 after 21089 ms: Couldn’t connect to server
取消全局代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
####2.git 推送出现 "fatal: The remote end hung up unexpectedly" 解决方案
修改提交缓存大小为500M,或者更大的数字
git config --global http.postBuffer 524288000
# some comments below report having to double the value:
git config --global http.postBuffer 1048576000`