I got the same problem and none of the answers work for me. I solved by the following steps:
git log --all -- 'large_file`
The bottom commit is the oldest commit in the result list.
git log
Suppose you got:
commit 3f7dd04a6e6dbdf1fff92df1f6344a06119d5d32
git rebase -i 3f7dd04a6e6dbdf1fff92df1f6344a06119d5d32
Tips:
drop
for the commits contains the large file.git rebase --continue
to continue until you finish it.git rebase --abort
to cancel it.