昨天我进行整理了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;
- 然后按照网站上的指引进行配置,并重新提交;
- 详细可以参考官方文档;
官方步骤:
保持更新;