Why are some files that do not exist still tried to be submitted when git push

  git, question

I have a static/a.bin file before, which is relatively large. But I later deleted it and it disappeared from cached, but I still had it when I push. The tips are as follows:

remote: warning: File static/a.bin is 95.37 MB; this is larger than Git@OSC's recommended maximum file size of 50 MB
remote: error: File static/a.bin is 442.09 MB; this exceeds Git@OSC's file size limit of 100 MB
remote: error: hook declined to update refs/heads/master

I found the answer, sorry. Just execute gitfilter-branch-index-filter ‘gitrm-r-cached-ignore-unmatchstation/a.bin ‘head