changeset 456:e0f9a54b9dce

Add global gitignore.
author Edho Arief <edho@myconan.net>
date Mon, 18 Feb 2013 12:21:20 +0900
parents 2f5580798bbb
children 2455ac4a9c74
files rc/gitconfig rc/gitignore_global setup
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/gitconfig	Mon Feb 18 12:19:01 2013 +0900
+++ b/rc/gitconfig	Mon Feb 18 12:21:20 2013 +0900
@@ -9,3 +9,5 @@
 	default = current
 [color]
 	ui = true
+[core]
+	excludesfile = ~/.gitignore_global
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rc/gitignore_global	Mon Feb 18 12:21:20 2013 +0900
@@ -0,0 +1,4 @@
+# vim temporary files
+# Source: https://github.com/github/gitignore/blob/master/Global/vim.gitignore
+.*.s[a-w][a-z]
+*~
--- a/setup	Mon Feb 18 12:19:01 2013 +0900
+++ b/setup	Mon Feb 18 12:21:20 2013 +0900
@@ -129,6 +129,7 @@
     _rc "${1}" "../bin" ".ecos_bin"
     _rc "${1}" "gemrc" ".gemrc"
     _rc "${1}" "gitconfig" ".gitconfig"
+    _rc "${1}" "gitignore_global" ".gitignore_global"
     _rc "${1}" "hgrc" ".hgrc"
     _rc "${1}" "inputrc" ".inputrc"
     _rc "${1}" "tmux.conf" ".tmux.conf"