This commit is contained in:
luk.lu
2022-11-14 17:22:08 +08:00
parent ebb03b8077
commit 107b073f18
4 changed files with 11 additions and 13 deletions

View File

@@ -32,19 +32,18 @@ echo *** Starting from [%CD%] ***
echo;
for /d /r %%r in (*) do (
echo "%%r" | findstr "\.git" > NUL || (
echo "%%r" | findstr "node_modules" >NUL || (
if exist "%%r\.git" (
pushd "%%r"
echo ---- git pulling [%%r] ----
git pull --all
echo;
popd
)
echo "%%r" | findstr "node_modules" >NUL || (
if exist "%%r\.git" (
pushd "%%r"
echo ---- git pulling [%%r] ----
git pull --all
echo;
popd
)
)
)
popd
:END