To remove all DS_Store files from a Git repository after you've accidentally added them in

This is the command line command you need if you're so foolish as to not add the .DS_Store file to your .gitignore before committing:

(as per this discussion on StackOverflow)