summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--gitconfig2
-rw-r--r--global.gitignore23
2 files changed, 25 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index 0e4d5afe..9d616709 100644
--- a/gitconfig
+++ b/gitconfig
@@ -21,3 +21,5 @@
 	user = alan@alanpearce.co.uk
 [diff]
 	algorithm = patience
+[core]
+	excludesfile = /Users/alan/dotfiles/global.gitignore
diff --git a/global.gitignore b/global.gitignore
new file mode 100644
index 00000000..02b15bfa
--- /dev/null
+++ b/global.gitignore
@@ -0,0 +1,23 @@
+.DS_Store
+.AppleDouble
+.LSOverride
+Icon
+Desktop.ini
+
+# Thumbnails
+._*
+Thumbs.db
+
+# Emacs
+*~
+\#*\#
+/.emacs.desktop
+/.emacs.desktop.lock
+.elc
+auto-save-list
+tramp
+.\#*
+
+# Org-mode
+.org-id-locations
+*_archive
\ No newline at end of file