Reorder git commands
This commit is contained in:
parent
297a7c0ac6
commit
c9defd1f64
@ -102,12 +102,12 @@ else
|
|||||||
if [ -d "./.git" ]; then # if a git repository already exists
|
if [ -d "./.git" ]; then # if a git repository already exists
|
||||||
git pull upstream $DL_LINK
|
git pull upstream $DL_LINK
|
||||||
else # if no git repository exists
|
else # if no git repository exists
|
||||||
|
git config --global user.email "autodeploy@jafner.tools"
|
||||||
|
git config --global user.name "AutoDeploy"
|
||||||
git init
|
git init
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Init"
|
git commit -m "Init"
|
||||||
git remote add upstream $DL_LINK
|
git remote add upstream $DL_LINK
|
||||||
git config --global user.email "autodeploy@jafner.tools"
|
|
||||||
git config --global user.name "AutoDeploy"
|
|
||||||
fi
|
fi
|
||||||
echo " === Using latest version on $DL_LINK"
|
echo " === Using latest version on $DL_LINK"
|
||||||
echo " === Starting!"
|
echo " === Starting!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user