13 lines
223 B
Batchfile
13 lines
223 B
Batchfile
@echo off
|
|
|
|
for /D %%G in (%CD%\*) do if exist %%G\.git (
|
|
cd %%G
|
|
set RESULT=
|
|
for /f %%i in ('git status -s') do (set RESULT=%%i)
|
|
if defined RESULT (
|
|
git add %*
|
|
git commit %*
|
|
)
|
|
cd ..
|
|
)
|