Created
February 3, 2018 08:34
-
-
Save jmini/de392ab96391581c52f66285c333548d to your computer and use it in GitHub Desktop.
Git ignore all the .DS_Store files in every folder and subfolder globally
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
echo ".DS_Store" >> ~/Git/.gitignore_global | |
echo "._.DS_Store" >> ~/Git/.gitignore_global | |
echo "**/.DS_Store" >> ~/Git/.gitignore_global | |
echo "**/._.DS_Store" >> ~/Git/.gitignore_global | |
git config --global core.excludesfile ~/Git/.gitignore_global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment