I get a list of about 10 errors analogous to the following one when running git push origin master
: remote: error: File android/java_pid60072.hprof is 564.94 MB; this exceeds GitHub's file size limit of 100.00 MB
From this post I added *.hprof
to my .gitignore file. I then made some additional edits, did a commit, and it still generated this list of errors.
Why might my build be failing to ignore the hprof files? Here's the relevant section of my .gitignore:
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof