/ Published in: Bash
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)