命令行增加 git pull

master
Cal 2023-10-12 17:45:46 +08:00
parent f6f0be0b25
commit 8305857102
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
@echo on @echo off
git pull
set fileName=config.ini set fileName=config.ini
if not exist %fileName% ( if not exist %fileName% (
echo file : %fileName% not exist echo file : %fileName% not exist
goto end goto end
) )
rem 读取文件,每次读取一行,默认以空格分隔,默认取第一列
for /f %%i in ('type %fileName%') do ( for /f %%i in ('type %fileName%') do (
set first=%%i set first=%%i
break break