diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 18:28:50 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 18:28:50 +0200 |
commit | 62bd0fed942225598b62146bd196c8c6633e5dae (patch) | |
tree | 228c972b4bee01f6b406141be530b419e64a9caa | |
parent | db1028a9a1b240e0337536cb548b7e92a66ef6f1 (diff) |
Manage .gitconfig
-rw-r--r-- | gitconfig | 9 | ||||
-rwxr-xr-x | install | 2 |
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 @@ -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 |