在使用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 .. 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-09-06
  • 2021-10-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-17
  • 2021-09-12
  • 2021-05-11
相关资源
相似解决方案