2016-11-15 388 views
-2

任何想法如何解決以下錯誤?我們只是試圖推向GitHub,而不是Heroku。謝謝!!錯誤時推送到GitHub

remote: warning: File examples/test/data/-deployd.0 is 64.00 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB 
remote: warning: File examples/users/data/-deployd.0 is 64.00 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: d4c72f75677cd04f1c50b4e7847aa61f 
remote: error: See http://git.io/iEPt8g for more information. 
remote: error: File examples/users/data/-deployd.1 is 128.00 MB; this  exceeds GitHub's file size limit of 100.00 MB 
To https://github.com/H-Ingram/FindVolunteerships.com.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to 'https://github.com/H-Ingram/FindVolunteerships.com.git' 

回答

1

GitHub拒絕文件larger than 100Mb

Git(和一般的源代碼控制)不應該真的用於存儲像binarys這樣的大文件。如果您發現需要,請考慮使用Git Large File Storage或其他分發技術。