Github的repositories的文件大小限制

时间:2020-12-05 16:04:46

repositories总的大小应该没什么限制,不确定,目前带数据已经操过100M;
repositories对当个文件大小限制为100M,超过100M会报error
recommend大小为10M

记录:

xubo@xubo-PC MINGW64 /e/all/git/SparkLearning (master)
$ git push SparkLearning master
Enter passphrase for key '/c/Users/xubo/.ssh/id_rsa':
Counting objects: 1037, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (925/925), done.
Writing objects: 100% (1037/1037), 96.16 MiB | 84.00 KiB/s, done.
Total 1037 (delta 340), reused 3 (delta 1)
remote: warning: File adam.log is 50.49 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File file/data/graphx/input/web-Google.txt is 67.02 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 629c35e43153c758ccd2c87e572b3f20
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File file/data/mllib/input/movielens/large/ratings.dat is 252.82 MB; this exceeds GitHub's file size limit of 100.00 MB
To git@github.com:xubo245/SparkLearning.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@github.com:xubo245/SparkLearning.git'