#!/bin/bash # 提交並推送到遠端服務器 git add . git commit -m "$1" git push origin git push gitea echo "✓ 已推送到 origin 和 gitea"