From 4e697dd5f30973fd95cb5d50cdf7b6f05afc5430 Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Thu, 30 Sep 2021 06:41:49 -0700 Subject: [PATCH] Reorder git commands --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index 6988c88..10ff5bf 100644 --- a/init.sh +++ b/init.sh @@ -102,12 +102,12 @@ else if [ -d "./.git" ]; then # if a git repository already exists git pull upstream $DL_LINK else # if no git repository exists + git config --global user.email "autodeploy@jafner.tools" + git config --global user.name "AutoDeploy" git init git add . git commit -m "Init" git remote add upstream $DL_LINK - git config --global user.email "autodeploy@jafner.tools" - git config --global user.name "AutoDeploy" fi echo " === Using latest version on $DL_LINK" echo " === Starting!"