From e41d4ebfe0f9f9aa8cf248a7b9dd62ff669a7396 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 20 Nov 2018 09:19:15 +0100 Subject: [PATCH] Added global git ignore --- gitignore/gitignore_global | 2 ++ gitignore/install.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 gitignore/gitignore_global create mode 100755 gitignore/install.sh diff --git a/gitignore/gitignore_global b/gitignore/gitignore_global new file mode 100644 index 0000000..5189503 --- /dev/null +++ b/gitignore/gitignore_global @@ -0,0 +1,2 @@ +tags +_build diff --git a/gitignore/install.sh b/gitignore/install.sh new file mode 100755 index 0000000..c2a573b --- /dev/null +++ b/gitignore/install.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +ln -svrf gitignore_global ~/.gitignore_global +git config --global core.excludesfile ~/.gitignore_global +