Posted By

jachin on 02/26/08


Shell osx git DSStore VersionControl

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


removing .DS_Store files from a git checkout

 / 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.

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

Report this snippet  

You need to login to post a comment.