GitRewrite
GitRewrite copied to clipboard
delete files/folders listed in a file
I would like to ask if it would be possible to implement that one can delete files and/or folders from git's history that are listed in a file.
When I am not wrong the command
git log --pretty=format: --name-only | sort -u
lists all files and folders that ever were (or still are) present in the repository. Then one just would need to delete the stuff that should be kept in the repository.