Files
windows_tools/batch/repo-pulls.cmd

16 lines
293 B
Batchfile

@echo off
FOR /f "tokens=*" %%G IN ('dir /b') DO (
if exist %%G\.git (
echo %%G
cd %%G
git pull --recurse-submodules
cd ..
echo ==================== )
if exist %%G\.svn (
echo %%G
cd %%G
svn update
cd ..
echo ==================== ))