命令行增加 git pull
parent
f6f0be0b25
commit
8305857102
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue