summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-02-13 10:41:26 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-02-13 10:41:26 +0100
commit89e1fdbca570dc46763fc15624cab85c2175460e (patch)
tree944c8c5f3338e78199940b1d8571a45cc344ea38
parentb2abffb7dcd4e921a5a38f7838db1bd470386624 (diff)
add global .gitignore to exclude vim cruft filesHEADmaster
-rw-r--r--.gitconfig1
-rw-r--r--.gitignore5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 2fcc922..9ab43a9 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -6,6 +6,7 @@
[core]
abbrev = 12
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
+ excludesfile = /home/tobiask/.gitignore
[alias]
co = checkout
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..52e9c76
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+# vim temporary files
+*~
+# vim swap files
+*.swp
+*.swo