Reorder git commands
This commit is contained in:
parent
835fd28bfa
commit
4e697dd5f3
4
init.sh
4
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!"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user