This commit is contained in:
陆柯 2022-07-21 12:22:36 +08:00
parent c6bdadf16f
commit 1ea3255769
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ for /d %%o in (*) do (
for /d %%g in (*) do (
if exist %%g\.git (
pushd %%g
echo ---- git adding/commiting/pushing [%BASEDIR%\%%o\%%g] ----
echo ---- git add-commit-push [%BASEDIR%\%%o\%%g] ----
git add . && git commit -m 'updated' && git push
echo;
popd

View File

@ -42,9 +42,9 @@ do
do
if [ -d "$repo/.git" ]
then
echo "---- git pushing [`pwd`/$repo] ----"
echo "---- git add-commit-push [`pwd`/$repo] ----"
cd "$repo"
git push
git add . && git commit -m 'updated' && git push
echo ""
cd ..
fi