Created
September 5, 2010 06:10
-
-
Save tfwright/565799 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With a couple of little commands, you’ll be able to ignore the .DS_Store files forever from your git repositories on mac! | |
The following command will add the .gitignore file to the git configuration | |
git config --global core.excludesfile ~/.gitignore | |
then, the following, will add the .DS_Store to the list | |
echo .DS_Store >> ~/.gitignore | |
and voilà! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment