From 403f1a8a5fd6d28e793d8a7ab7bd599dc62a4063 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 6 Oct 2021 13:50:04 -0400 Subject: [PATCH] Add .gitlocal include to .gitconfig --- .gitconfig | 20 ++++++++++++++++---- copy.sh | 5 +++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 1fe3f6f..8e96130 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,19 @@ [user] - name = Sage Vaillancourt - email = sagev9000@tutanota.com + name = Sage Vaillancourt + [core] - autocrlf = input + autocrlf = input + excludesfile = ~/.gitignore + [credential] - helper = store + helper = store + +[push] + default = current + followTags = true + +[help] + autocorrect = 1 + +[include] + path = ~/.gitlocal diff --git a/copy.sh b/copy.sh index cb40198..a2d938d 100755 --- a/copy.sh +++ b/copy.sh @@ -33,6 +33,11 @@ ln -sf $SCRIPT_DIR/.vim/colors/* ~/.vim/colors/ touch ~/.zsh_local +if ! test -f ~/.gitlocal; then + echo "[user]" > ~/.gitlocal + echo " email = sagev9000@tutanota.com" >> ~/.gitlocal +fi + # Install required packages if [[ "$1" == "--install" ]]; then echo -n "Rust is "