错误原因
在使用git程序更新或提交项目时出现 “fatal: The remote end hung up unexpectedly “报错原因是推送的文件太大。
解决方案
修改提交缓存大小
git config --global http.postBuffer 524288000
命令示例大小为500MB,注意命令中单位为B.
或直接在.git文件夹下的config文件中加入
[http] postBuffer = 524288000
在使用git程序更新或提交项目时出现 “fatal: The remote end hung up unexpectedly “报错原因是推送的文件太大。
修改提交缓存大小
git config --global http.postBuffer 524288000
命令示例大小为500MB,注意命令中单位为B.
或直接在.git文件夹下的config文件中加入
[http] postBuffer = 524288000
发表回复