@echo off@echo ==================提取git版本差量文件程式==================@echo 输入要与当前最新版本做比较的版本SHA ID:set /p begin_ver=@echo 开始对比文件列表...git diff --name-only %begin_ver% HEAD > filelist.txtecho 开始压缩对比后的文件列表..."C:\Program Files\WinRAR\Rar.exe" a -as -r update.rar @filelist.txtdel filelist.txt@echo 【按任意键退出】pause>nulexit
git diff --name-only 本次ID 上次ID > filelist.txt