git 上传大文件;remote: fatal: pack exceeds maximum allowed size


昨天我进行整理了kawaks的游戏rom; 整个rom下载下来超4G;在通过ssh上传到git时,一直报remote: fatal: pack exceeds maximum allowed size错误;

项目地址:https://github.com/Game-Emulators/Kawaks-ROMs

通过搜索,找到了git上传文件的方法,git-lfs项目;

项目网站:https://git-lfs.github.com/

项目介绍:Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

大概解决思路:

  • 下载git-lfs插件:apt install git-lfs;
  • 然后按照网站上的指引进行配置,并重新提交;
  • 详细可以参考官方文档;

官方步骤:

保持更新;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM