1
0
mirror of synced 2024-11-30 17:54:27 +01:00
universe/commit.cmd

13 lines
223 B
Batchfile
Raw Normal View History

2022-02-03 22:13:20 +01:00
@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 ..
)