Return to Snippet

Revision: 5304
at February 26, 2008 16:59 by jachin


Initial Code
find . -depth -name '.DS_Store' -exec git-rm --cached '{}' \; -print

Initial URL

                                

Initial Description
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.

Initial Title
removing .DS_Store files from a git checkout

Initial Tags
osx, git

Initial Language
Bash