I need a repository hosted on GitLab to also be hosted on a GitHub Enterprise server. The server prevents files from over 100MB be uploaded.
I had a local Mongo database with two "prealloc" files that put aside 1GB each. I deleted the parent (data/) directory (now using MLab to host database), and stopped git tracking with git rm data/
. I then do
git remote set-url origin git@my-enterprise.github.git
This sets the origin url to be the enterprise version. Then when I try and push, it aborts the push along with the message:
remote: error: File data/journal/prealloc.0 is 1024.00 MB; this exceeds GitHub Enterprise's file size limit of 100.00 MB
Even though the directory has gone. Its not in git's list of tracked files. Any ideas on what I might be missing?