Home ›
Keep .DS_Store files out of your Git projects when developing on a MacKeep .DS_Store files out of your Git projects when developing on a Mac
Submitted by Benjamin Melançon on October 16, 2008 - 8:00am
Searched words:
exclude .DS_Store files from git projects and repositories
tell Git to ignore ds store!
Following Alex Miller's note on git ignore files I added this to my .gitconfig file in my home directory:
[core]
excludesfile = ".gitexcludes"
And created also in my home directory the file .gitexcludes with this in it:
.DS_Store
Not sure yet if that relative path approach will work, or if I'll have to specify /home/ben/.gitexcludes...
Resolution
More like this
- Git the Agaric Way: using shell scripts to add and update projects
- Resolve a conflict to use local files after a merge goes bad in git pull
- Installing XDebug with Mac OS X MAMP: disable PHP Zend Optimizer
- Virtual hosts on Mac OS X Leopard with XAMPP
- Connecting to a server that does security by IP address... finding your IP address


Comments
Post new comment