/ Published in: Bash

This command will not delete the .DS_Store files from the file system, just take them out of version control.
Before doing this it would be a good idea to setup the repository to ignore .DS_Store files.
Before doing this it would be a good idea to setup the repository to ignore .DS_Store files.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find . -depth -name '.DS_Store' -exec git-rm --cached '{}' \; -print
Comments
