How do I easily remove several files without manually typing the full paths of all of them to git rm? I have plenty of modified files I\'d like to keep so remov
git rm
You simply use
find . -name '*.DS_Store' | xargs git rm
to remove many files match the wildcards.