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
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
Searched words:
exclude .DS_Store files from git projects and repositories
tell Git to ignore ds store!
Comments
Post new comment