mytfenv/delete_unwanted_files_from_git_ignore.sh
2026-10-31 18:01:05 -05:00

3 lines
176 B
Bash
Executable file

git filter-branch --force --index-filter \
'git ls-files --exclude-standard -ci | xargs -r git rm --cached --ignore-unmatch' \
--prune-empty --tag-name-filter cat -- --all