Closed johnkary closed 10 years ago
You can prevent these files from being added to your repository by creating a system-wide ~/.gitignore file, adding .DS_Store to it then telling git about it:
~/.gitignore
.DS_Store
git config --global core.excludesfile ~/.gitignore
Helpful tip! Thanks @johnkary.
You can prevent these files from being added to your repository by creating a system-wide
~/.gitignore
file, adding.DS_Store
to it then telling git about it: