User login

Git

Keep .DS_Store files out of your Git projects when developing on a Mac

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

Syndicate content