r0kbkw
Last Updated: August 02, 2017
·
27
· superboum
Avatar1

Delete every file matching a given extension in a git repository

git
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch -r \*.extension' --prune-empty -- --al

Source: Remove files from history by specific extension

Say Thanks
Respond
Filed Under