首页 > 其他 > 详细

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

时间:2015-03-27 10:40:35      阅读:7496      评论:0      收藏:0      [点我收藏+]

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

POST git-receive-pack (chunked) 

从 stackoverflow 看到这样一则

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 

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

[http] 
    postBuffer = 524288000

 

ok .. 

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

原文:http://www.cnblogs.com/duwei/p/4370908.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!