Update commit.tpl

This commit is contained in:
midoks 2023-10-04 15:57:23 +08:00
parent ae3cc4bd0b
commit c0bdf2659f
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ git config --global pull.rebase false
if [ ! -d $GIT_PROJECT_DIR ];then
mkdir -p $GIT_USER_DIR && cd $GIT_USER_DIR
git clone $GITADDR --branch main
# git clone $GITADDR
if [ "$?" != "0" ];then
git clone $GITADDR
fi
fi
unset GIT_DIR