File size: 165 Bytes
cab5238 |
1 2 3 4 5 6 7 8 |
# 获取提交信息,若未提供则使用默认值 "update"
commit_message="${1:-update}"
# 执行 Git 命令
git add .
git commit -m "$commit_message"
git push
|
cab5238 |
1 2 3 4 5 6 7 8 |
# 获取提交信息,若未提供则使用默认值 "update"
commit_message="${1:-update}"
# 执行 Git 命令
git add .
git commit -m "$commit_message"
git push
|