在push的时候显示 protocol error: bad line length 8192
我在本地创建了一个gogs服务器,现在正在上传代码,但是出现了上述的这个问题。
解决方法
设置本地http.postBuffer(待验证)
方法一:全局配置
bash
git config --global http.postBuffer 524288000
方法二:当前仓库配置
bash
git config http.postBuffer 524288000
查看当前的Git配置
bash
git config --list