Update commit.tpl.ssh

pull/528/head
Mr Chen 1 year ago
parent 4b1e40b42d
commit 4e0db8d0a1
  1. 4
      plugins/gitea/hook/commit.tpl.ssh

@ -15,7 +15,9 @@ if [ ! -d $GIT_PROJECT_DIR ];then
fi fi
unset GIT_DIR unset GIT_DIR
git config pull.rebase false
git config pull.rebase true
git config credential.helper store
cd $GIT_PROJECT_DIR && git pull cd $GIT_PROJECT_DIR && git pull

Loading…
Cancel
Save