From ffd96b03e5bc91b59d7d139d32c91a337423afcc Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 17 May 2025 21:17:50 +0800 Subject: [PATCH] Update commit.tpl --- plugins/gitea/hook/commit.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/gitea/hook/commit.tpl b/plugins/gitea/hook/commit.tpl index 2f26a67e3..727a2b9cc 100755 --- a/plugins/gitea/hook/commit.tpl +++ b/plugins/gitea/hook/commit.tpl @@ -30,7 +30,8 @@ unset GIT_DIR -cd $GIT_PROJECT_DIR && git pull +# cd $GIT_PROJECT_DIR && git pull +cd $GIT_PROJECT_DIR && sudo git pull # func 2 # cd $GIT_PROJECT_DIR && env -i git pull origin master