summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-10-26 18:28:50 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-10-26 18:28:50 +0200
commit62bd0fed942225598b62146bd196c8c6633e5dae (patch)
tree228c972b4bee01f6b406141be530b419e64a9caa
parentdb1028a9a1b240e0337536cb548b7e92a66ef6f1 (diff)
Manage .gitconfig
-rw-r--r--gitconfig9
-rwxr-xr-xinstall2
2 files changed, 10 insertions, 1 deletions
diff --git a/gitconfig b/gitconfig
new file mode 100644
index 0000000..936df37
--- /dev/null
+++ b/gitconfig
@@ -0,0 +1,9 @@
+# vim: ft=gitconfig
+[user]
+ name = Johannes Ranke
+ email = jranke@uni-bremen.de
+[push]
+ default = simple
+[core]
+ excludesfile = ~/.gitignore
+ autocrlf = input
diff --git a/install b/install
index 64e643c..eda2cbf 100755
--- a/install
+++ b/install
@@ -6,7 +6,7 @@ cd $(dirname $BASH_SOURCE)
BASE=$(pwd)
# dotfiles to install
-for dotfile in bashrc vimrc tmux.conf; do
+for dotfile in bashrc vimrc gitconfig tmux.conf; do
mkdir -pv bak
[ -e ~/.$dotfile ] && mv -v ~/.$dotfile bak/.$dotfile
ln -sfv $BASE/$dotfile ~/.$dotfile

Contact - Imprint