github - GitHub,推送到远程时出错。我无法推送大文件
问题描述
我无法将文件推送到远程存储库中显示的错误;
remote: error: Trace: 4826343039aab4a26cc11c6aa133f1e87a7f9dd314245a5c46cd6b500a048315
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File xxxxxx.csv is 143.84 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/xxxx/xxxx-xxxxxx.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/xxxx/xxxx-xxxxxx.git'
我试图通过安装 LFS 来解决这个问题,初始化后我按照这些步骤操作
git add .gitattributes` and
git add xxxxxx.csv
git commit -m "Add design file"
git push origin main
但我遇到了同样的错误......请帮我解决这个问题
解决方案
推荐阅读
- discord - 如何创建 Discord 帐户并将其添加到嵌入中?
- reactjs - Redux 和 React:未处理的拒绝(TypeError):无法读取未定义的属性“推送”
- css - APEX 20.1 - 交互式网格的样式列组标题
- r - R优化:最小化二次函数
- r - R - 间隔计数
- regex - 使用 RegEx 搜索词条并提取词条前后的字符
- html - Safari 浏览器不渲染用作垂直线的 div
- sql-server - 试图让键盘命令在 SSMS 中工作的问题
- java - 解析 Java JSON 时的动态 @JsonSubTypes
- android - 在 android 应用程序中使用 oData Api