Fork me on GitHub

ignore .DS_Store forever in GIT

With a couple of little commands, you’ll be able to ignore the .DS_Store files forever from your git repositories on mac!

The following command will add the .gitignore file to the git configuration

git config --global core.excludesfile ~/.gitignore

then, the following, will add the .DS_Store to the list


echo .DS_Store >> ~/.gitignore

and voilà!

Trackbacks

  1. [...] ignore .DS_Store forever in GIT • antoniolorusso.com (tags: git tips) [...]

    Pingback by links for 2009-05-18 | NeXt — May 18, 2009 @ 5:04 pm



Responses



Leave a comment

(required)

(required)