removing .DS_Store files from a git checkout


/ Published in: Bash
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. find . -depth -name '.DS_Store' -exec git-rm --cached '{}' \; -print

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.