Add global git ignore

This commit is contained in:
ViViDboarder 2019-04-15 10:07:42 -07:00
parent 48de40cf42
commit 6af3b87c5f
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# codekit #
###########
.sass-cache/
.codekit-config.json
config.codekit
# ctags #
#########
tags

View File

@ -9,3 +9,7 @@ git config --global color.ui auto
git config --global diff.tool vimdiff
# Suppress launching prompt
git config --global difftool.prompt false
# Create global ignore file
mkdir -p $XDG_CONFIG_HOME/git/
git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global"
try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global"