但是之后仍push不成功,因为超过100M的这个文件已经在之前commit过很多次了。

解决办法:
git log
得到之前的'commit id'
git reset 想恢复的commit ID 即可