使用SourceTree Push 出现 POST git-receive-pack (chunked) 的解决方法

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

POST git-receive-pack (chunked) 

从 * 看到这样一则

This is a bug in Git; when using HTTPS it will use chunked encoding for uploads above a certain size. Those do not work. 

A trivial fix is to tell git to not chunk until some ridiculously large size value, such as: 

git config http.postBuffer  

结合网上的另一篇文章,在 ~/.gitconfig 加入

[http]
postBuffer =

ok ..

上一篇:容易被忽视的后端服务 chunked 性能问题


下一篇:HTTP协议的chunked编码