git-obliterate

Delete specific files and erase their history from a Git repository.

TLDR

Erase the existence of specific files

$ git obliterate [file_1 file_2 ...]
copy

Erase the existence of specific files between 2 commits

$ git obliterate [file_1 file_2 ...] -- [commit_hash_1]..[commit_hash_2]
copy

Copied to clipboard
Dodo Farming