git push报如下错误

Git-git提交报错error:RPC failed

原因:缓存值太小,远程便捷HTTP传输请求数据时最大的缓存字节数,默认时1M字节

解决:

#git config --help(查找报错原因)

http.postBuffer

           Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system. For requests larger than this buffer size,

           HTTP/1.1 and Transfer-Encoding: chunked is used to avoid creating a massive pack file locally. Default is 1 MiB, which is sufficient for most requests.

#git config --global http.postBuffer 524288000

#git global --list

#git push -u origin master

Git-git提交报错error:RPC failed

相关文章:

  • 2022-01-09
  • 2021-04-29
  • 2021-12-11
  • 2021-07-25
  • 2022-12-23
  • 2021-07-28
  • 2021-07-28
  • 2021-04-21
猜你喜欢
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2021-05-08
相关资源
相似解决方案