mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 20:26:29 +00:00
Add global git ignore
This commit is contained in:
parent
48de40cf42
commit
6af3b87c5f
47
assets/default/git/exclude_global
Normal file
47
assets/default/git/exclude_global
Normal 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
|
@ -9,3 +9,7 @@ git config --global color.ui auto
|
|||||||
git config --global diff.tool vimdiff
|
git config --global diff.tool vimdiff
|
||||||
# Suppress launching prompt
|
# Suppress launching prompt
|
||||||
git config --global difftool.prompt false
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user