Files
xhs_crawler/quick_push.bat
2026-01-09 16:53:04 +08:00

36 lines
756 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
REM Windows 快速提交脚本
REM 使用方法:双击运行或在命令行执行
echo ========================================
echo XHS 采集器 - 快速提交脚本
echo ========================================
echo.
REM 设置颜色
color 0A
echo [1/3] 检查 Git 状态...
git status --short
echo.
echo [2/3] 添加所有修改...
git add .
echo.
set /p MESSAGE="请输入提交信息(默认:update code): "
if "%MESSAGE%"=="" set MESSAGE=update code
echo.
echo [3/3] 提交并推送...
git commit -m "%MESSAGE%"
git push
echo.
echo ========================================
echo 提交完成!
echo ========================================
echo.
echo 提示:服务器将在下次自动拉取时获取这些更新
pause