在使用SourceTree上传资料的时候,遇到

POSTgit-receive-pack(chunked)

看到这样一则

ThisisabuginGit;whenusingHTTPSitwillusechunkedencodingforuploadsaboveacertainsize.Thosedonotwork.Atrivialfixistotellgittonotchunkuntilsomeridiculouslylargesizevalue,suchas:gitconfighttp.postBuffer524288000

于是尝试 .git/config 加入

[http]postBuffer=524288000

主要是限制文件大小的原因.