0
点赞
收藏
分享

微信扫一扫

某全球头部ICT公司:全球多个交付中心实现安全的内外网文件交换

单调先生 2023-11-02 阅读 36
git

push代码的时候,有时会出现如下问题
remote: fatal: pack exceeds maximum allowed size
error: failed to push some refs to ‘git.n.xiaomi.com:fuzheng1/nl2sql.git’
在这里插入图片描述
解决方案:
将本地 http.postBuffer 数值调整到GitHub服务对应的单次上传大小配置

# 方法一:全局配置 git config --global http.postBuffer 524288000  
或者  
# 方法二:当前仓库配置 git config http.postBuffer 524288000

查看是否配置成功

# 查看当前的Git配置
git config --list
举报

相关推荐

0 条评论