I have a repository in which there is a "Trash" folder with a lot of trash files (previous developer wanted to store them for whatever reason). I want to completely remove them from repo, as they take almost 1.5 GB of space. I already saw such problem: Remove folder and its contents from git/GitHub's history but mine is a little bit different: initially "Trash" files were somewhere else, so I need to:
- Get all files from "Trash"
- Find all references of them in history
- Remove every notion of them from history
How can it be done?