Files
sanguo_quant_live/scripts/pull-commit-push.sh
T

18 lines
245 B
Bash
Executable File

#!/bin/bash
# sanguo_quant_live 快捷提交脚本
# 用法:./scripts/pull-commit-push.sh "commit message"
# 拉取最新
git pull
# 添加所有修改
git add .
# 提交
git commit -m "$1"
# 推送
git push
echo "✅ 提交推送完成"