1. git提交代码报错 trailing whitespace

禁止执行pre-commit脚本

进入到项目目录中

chmod a-x .git/hooks/pre-commit

2.git提交代码报错  error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411 Length Required
                              fatal: The remote end hung up unexpectedly,上传的包过大导致。

vim .git/config

添加:

  1. [http]  
  2. postBuffer = 524288000  

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-04-21
  • 2021-09-20
  • 2022-01-26
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
相关资源
相似解决方案