首页 > 解决方案 > 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

但我遇到了同样的错误......请帮我解决这个问题

标签: githubgit-lfs

解决方案


推荐阅读