@echo offset cdir=%~dp0echo %cdir% for /f "delims=" %%i in ('dir /ad/b/s "%cdir%" ') do ( if "%%~nxi" equ ".git" ( cd %%~dpi mvn clean install -DskipTests
:: git pull )
)pause