Appearance
@echo off @REM 获取目录列表 @for /f "delims=" %%d in ('dir /b /a:d') do ( echo [info::Updating %%d...] @REM 假如是 git 仓库的才更新 if exist %%d\.git ( cd %%d git pull cd .. ) else ( echo [warning:: %%d is not a git repository. skipped.] ) ) echo [info::All Done!] pause
Site developed by Aomd.
Copyright © 2017-present hiwebpage.com. All Rights Reserved.
鄂ICP备17016339号-1 鄂公网安备42070002000053号