update: git pull

This commit is contained in:
zhaoyingbo 2022-07-09 18:55:58 +08:00
parent 89f5cf19f7
commit e96237b694

View File

@ -108,7 +108,7 @@ func manageProj(projectPath string, payload GogsPayload) (error) {
return runErr
}
// 拉取代码
script = "git pull"
script = "git pull --rebase"
runErr = runCommand(script, projectPath, false)
if runErr != nil {
return runErr