1
0
mirror of synced 2024-11-27 16:50:47 +01:00
universe/commit.cmd
2022-02-03 21:13:20 +00:00

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 ..
)