git - MongoDB - Reduce WiredTiger Filesize -


i'm making web app mean stack, , i'm having issues version control.

i'm trying push repo on github enterprise, , because of "apparent" sizes of wiredtiger files (which can see here)

i'm getting error:

remote: error: file data/db/journal/wiredtigerpreplog.0000000002 100.00 mb; exceeds github enterprise's file size limit of 100.00 mb

is there anyway configure these files hold less "apparent" space??

you not store binary files source code management system. while git has large file storage, checking in binary files of mongodb not idea. usually, check in text file representation of initial data (for example json or cvs) , add database on startup of application.

if really need keep database files deployment, take different approach , use docker: fill database, stop container, docker commit container , use resulting container deployment. note not ideal, either.