GitRewrite icon indicating copy to clipboard operation
GitRewrite copied to clipboard

delete files/folders listed in a file

Open Mo-Gul opened this issue 3 years ago • 0 comments

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.

Mo-Gul avatar May 24 '21 18:05 Mo-Gul