w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Development Log file exceeds GitHub's file size limit, even after deleting file

It seems you have earlier added/checked-in your development.log file into the git repo.

You need to remove it, and make a commit.

git rm log/development.log
git commit -m "removed log file"

In general, you should put your log directory into your .gitignore file

echo log >> .gitignore

And to completely remove all the log files (in case others were added)

git rm -r --cached log
git commit -m "removed log file"

Github has recently started enforcing a 100MB limit for maximum file sizes. https://help.github.com/articles/working-with-large-files


It seems you have previous commits which weren't pushed to github locally.

Try running

git filter-branch --index-filter 'git rm --cached
--ignore-unmatch log/development.log' --tag-name-filter cat -- --all

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.