违法℃玩家 发表于 2018-9-18 10:28:58

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 524288000
  

  于是尝试 .git/config 加入
  


[*]
[*]    postBuffer = 524288000
  

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


页: [1]
查看完整版本: POST git-receive-pack (chunked)