3 ms·
You should be able to run a command that cleans the git tree of the file in all commits. I’ve had to do it because of committed passwords in files. https://sta
by Trisell 7y ago
You should be able to run a command that cleans the git tree of the file in all commits. I’ve had to do it because of committed passwords in files.
https://stackoverflow.com/questions/35115585/remove-file-from-all-commits https://stackoverflow.com/questions/35115585/remove-file-fro...
- karmakaze 7y agoWhen using `git filter-branch` it's much faster (up to 100x) to use the `--index-filter` option rather than `--tree-filter` as it only updates the git history and not the working directory. Docs and examples at https://git-scm.com/docs/git-filter-branch https://git-scm.com/docs/git-filter-branch