Before I am slammed there are several Questions regarding this, however nothing has resolved it. The Remote repo DOES NOT have a file at storage/logs/laravel.log I have wiped the local one with:
>storage/logs/laravel.log
its in .gitignore with:
/storage/logs/
I have also run:
git rm --cached storage/logs/laravel.log
git add -A
git commit -m "update"
git push
git reset --soft HEAD^
git reset HEAD storage/logs/laravel.log
git commit -c ORIG_HEAD
git add -A
git commit -m update
git push
and still get:
remote: error: File storage/logs/laravel.log is 127.11 MB; this exceeds GitHub's file size limit of 100.00 MB
! [remote rejected] master -> master (pre-receive hook declined)
What is going on here ? Can somebody give a definitive answer and resolution as to why git is erroring on a file that should not even be part of the repo.
EDIT: This question has been closed down and referred to an answer which either advertises third party software (the question is regarding git only and not java solutions). I have also shown that I have used the examples from that link without success. Further I finally posted a solution that worked for me but the moderator has seen fit to simply remove my solution without justification. I thought a moderator had to give specific reasons for actions. As already stated the 'git only' solutions have not worked up until the one I stumbled across - which is now removed. When did Stackoverflow start REMOVING solutions without explaination ?
SHAME