在使用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 524288000
于是尝试 .git/config 加入
- [http]
- postBuffer = 524288000
主要是限制文件大小的原因.
本文转自chainli 51CTO博客,原文链接:http://blog.51cto.com/lichen/1193189,如需转载请自行联系原作者