Created
August 16, 2019 07:27
-
-
Save ndom91/9aebbb8bcd980b33fdf7c5ba9fb20f30 to your computer and use it in GitHub Desktop.
Global .gitignore - .DS_Store
This file contains 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
#!/bin/bash | |
echo ".DS_Store" >> ~/.gitignore_global | |
echo "._.DS_Store" >> ~/.gitignore_global | |
echo "**/.DS_Store" >> ~/.gitignore_global | |
echo "**/._.DS_Store" >> ~/.gitignore_global | |
git config --global core.excludesfile ~/.gitignore_global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment