Auto commit on 2025-05-23 17:44:42
This commit is contained in:
parent
7688e9f3f5
commit
8654831d4c
@ -16,7 +16,7 @@ COMMIT_MSG="Auto commit on $(date '+%Y-%m-%d %H:%M:%S')"
|
|||||||
git commit -m "$COMMIT_MSG"
|
git commit -m "$COMMIT_MSG"
|
||||||
|
|
||||||
# 推送到远程 main 分支
|
# 推送到远程 main 分支
|
||||||
git push origin main
|
git push origin master
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "推送成功!"
|
echo "推送成功!"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user