标签:bye out lse 最新 git pull 切换 == style oca
:: git-pull-all.bat @ECHO OFF SETLOCAL ENABLEEXTENSIONS SET MYGIT="C:\Program Files\Git\bin\git.exe" FOR /D %%X IN (*) DO ( IF EXIST "%%X\.git\" ( CD /D "%%X" ECHO ===== git pull %%X %MYGIT% checkout test %MYGIT% pull --recurse-submodules=yes --ff-only --all --progress CD /D .. ) ELSE ECHO ..... Skipped %%X ) :bye PAUSE ENDLOCAL
git在windows下切换(checkout)分支拉取(pull)最新代码
标签:bye out lse 最新 git pull 切换 == style oca
原文地址:https://www.cnblogs.com/qiushuiblog/p/10925046.html