From 62bd0fed942225598b62146bd196c8c6633e5dae Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Oct 2016 18:28:50 +0200 Subject: Manage .gitconfig --- gitconfig | 9 +++++++++ install | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 gitconfig 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 -- cgit v1.2.1