Reorder git commands

This commit is contained in:
Jafner 2021-09-30 06:41:49 -07:00
parent 297a7c0ac6
commit c9defd1f64

View File

@ -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!"