Git-git提交报错error:RPC failed - Go语言中文社区

Git-git提交报错error:RPC failed


git push报如下错误

原因:缓存值太小,远程便捷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

转载于:https://www.cnblogs.com/fengwenqian/p/8316650.html

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_30832143/article/details/97799419
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-02-29 21:13:58
  • 阅读 ( 1071 )
  • 分类:

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢