diff --git a/git_update.sh b/git_update.sh index 6566bc5..5e0e3a1 100755 --- a/git_update.sh +++ b/git_update.sh @@ -16,7 +16,7 @@ COMMIT_MSG="Auto commit on $(date '+%Y-%m-%d %H:%M:%S')" git commit -m "$COMMIT_MSG" # 推送到远程 main 分支 -git push origin main +git push origin master if [ $? -eq 0 ]; then echo "推送成功!"