diff --git a/auto-commit-config.sh b/auto-commit-config.sh index a004c0f..c79bcbb 100755 --- a/auto-commit-config.sh +++ b/auto-commit-config.sh @@ -24,7 +24,7 @@ git commit -m "auto: sync OpenClaw config $(date '+%Y-%m-%d %H:%M')" 2>> "$LOG_F exit 0 } -# 推送到 Gitea -git push origin 2>> "$LOG_FILE" && echo " 推送成功" >> "$LOG_FILE" || echo " 推送失败" >> "$LOG_FILE" +# 推送到 Gitea(分支名 314) +git push origin HEAD:314 2>> "$LOG_FILE" && echo " 推送成功" >> "$LOG_FILE" || echo " 推送失败" >> "$LOG_FILE" exit 0