first commit

This commit is contained in:
douboer
2026-01-21 13:22:26 +08:00
commit 24452838a1
28 changed files with 7901 additions and 0 deletions

22
runit.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
git pull origin main
# 自动添加所有修改
git add .
# 如果没有提交信息,默认用时间戳
msg="update at $(date '+%Y-%m-%d %H:%M:%S')"
# 支持自定义提交信息:./run.sh "your message"
if [ $# -gt 0 ]; then
msg="$*"
fi
# 提交
git commit -m "$msg"
# 推送到远程 main 分支
git push origin main