#!/bin/bash # 提交並推送到遠端服務器 git add . git commit -m "$1" git push echo "✓ 已推送到 root@192.168.88.81:/mnt/mydata/gitea"