I receive the following error when pushing my commits
remote: warning: File var/log/system.log is 57.82 MB; this is larger than recommended maximum file size of 50 MB
remote: error: GH001: Large files detected.
remote: error: Trace: 96d01231dffac3fbc3ba1eb2e9f01a93
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File var/report/752246136671 is 100.86 MB; this exceeds github's file size limit of 100 MB
I tried the following the commands listed step by step below:
git push -u origin master
cant find these in git files to commit when i typed git status.
Could you please let me know how to push my changes to repo without these errors ? I guess these files are in github index . I also tried git rm --cached var/log/system.log. but no results.
hitting my head to wall !
UPDATE 1 Kindly find the Gists here based on the two answers from experts below:
- answer#1 - https://gist.github.com/haijerome/9405598
- answer#2 -https://gist.github.com/haijerome/9405492
UPDATE 2 Kindly find below the git Log details for the both the files that i tried to remove:
ANSWER THAT WORKED
Please find the gist for the final answer that solved my issue
See Question&Answers more detail:oscredits to git experts VonC, Holger Just and all other experts who have provided their inputs and ofcourse to stackoverflow.