mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update commit.tpl
This commit is contained in:
@@ -16,6 +16,10 @@ fi
|
||||
git config --global credential.helper store
|
||||
git config --global pull.rebase false
|
||||
|
||||
if [ ! -d $GIT_PROJECT_DIR ];then
|
||||
git config --global --add safe.directory $GIT_PROJECT_DIR
|
||||
fi
|
||||
|
||||
# echo $GIT_PROJECT_DIR
|
||||
if [ ! -d $GIT_PROJECT_DIR ];then
|
||||
mkdir -p $GIT_USER_DIR && cd $GIT_USER_DIR
|
||||
@@ -24,6 +28,8 @@ fi
|
||||
|
||||
unset GIT_DIR
|
||||
|
||||
|
||||
|
||||
cd $GIT_PROJECT_DIR && git pull
|
||||
|
||||
# func 2
|
||||
|
||||
Reference in New Issue
Block a user