For 2 days I've been trying to resolve a situation where I can't push an update to github due to the too-large-file thing (php_errors.log is 117.71 MB).
I don't know why github accepted it ever in the first place.
I finally got so desperate I decided to destroy my github repo and create a new empty repo from scratch, this time using their suggested .gitignore file.
At some point I had to restore my entire Linode server.
Now I still cannot push, get
remote: error: File php_errors.log is 117.71 MB; this exceeds GitHub's file size limit of 100.00 MB
I imagine this must be because when I restored my server, all the .git cached stuff returned.
I have followed two SO threads to resolve but with no luck. Sometimes the suggestions are obsolete.
I have nothing on github and really nothing to lose. How best to take my Wordpress (recovered from a Linode server restoration) and push it to github, ideally without any logs, cache, etc. ??