From 238daae0702d576609b5ab6bd724641b04dba97a Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 16 Jul 2020 23:34:29 +0800 Subject: [PATCH] Update gitconfig --- bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 90f1b0f..99fe6b7 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,6 +22,10 @@ mkdir -p ~/projects echo "Setup Git" ln -s ./git/work.gitconfig ~/projects/.gitconfig +if [ -f ~/gitconfig ]; then + cat ~/.gitconfig + mv ~/.gitconfig ~/.gitconfig.bak +fi ln -s ./git/global.gitconfig ~/.gitconfig # echo "Setup Bash"