Github doesn't allow files > 100MB to be uploaded. This is awkward for the user as they need to undo the commit before trying to fix the issue.
To prevent this, Metro should check the size of all files before committing. If a file is > 50MB it should give a warning and > 100MB should give an error.
Expected Behaviour
$ metro commit
You are trying to commit a file over the GitHub limit of 100MB.
If you are not using GitHub or are using GitHub LTS, you can disable this in the config using 'metro config file_limit=false'
Feature Description
Github doesn't allow files > 100MB to be uploaded. This is awkward for the user as they need to undo the commit before trying to fix the issue.
To prevent this, Metro should check the size of all files before committing. If a file is > 50MB it should give a warning and > 100MB should give an error.
Expected Behaviour