Mongodb文件超过Github推荐的大小

时间:2015-05-20 02:20:36

标签: node.js git mongodb gitignore

我使用mongodb创建了一个节点项目,但是当我尝试将其推送到github时,git控制台说明了

remote: warning: GH001: Large files detected.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File Server/data/local.0 is 64.00 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File Server/data/project.0 is 64.00 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

我不应该将.0文件推送到我的git repo吗? / data /文件夹中的所有文件都是mongo创建的文件。

1 个答案:

答案 0 :(得分:0)

对于超过50MB的文件,您将收到这些警告。 如果尝试将文件上传到github,则会拒绝超过100MB的文件。

来源:https://help.github.com/articles/working-with-large-files/

相关问题