diff --git a/plugins/gitea/hook/commit.tpl.ssh b/plugins/gitea/hook/commit.tpl.ssh index 6aac78ca8..0602d64f0 100755 --- a/plugins/gitea/hook/commit.tpl.ssh +++ b/plugins/gitea/hook/commit.tpl.ssh @@ -15,6 +15,8 @@ if [ ! -d $GIT_PROJECT_DIR ];then fi unset GIT_DIR +git config pull.rebase false + cd $GIT_PROJECT_DIR && git pull # func 2