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
- Fix messy Mac-style line endings to have proper Unix text file format
- Upgrade Subversion on Mac OS X using MacPorts
- Testing out the new direction for Drush, which has seen the matrix and can now step outside of Drupal
- Unable to use Drush in local XAMPP on Mac OS X environment
- Locking an SVN repository (or, another reason to use Git)


Comments
Post new comment