From 287207aae1ad86e04df2802c7332a67333f09d2a Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Mon, 28 Jun 2021 11:41:09 +0800 Subject: [PATCH] u --- git-pull-all.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 git-pull-all.bat diff --git a/git-pull-all.bat b/git-pull-all.bat new file mode 100644 index 0000000..d211077 --- /dev/null +++ b/git-pull-all.bat @@ -0,0 +1,12 @@ +@ IF "%1" == "" echo Using current folder as root folder + +pushd %1 +for /d %%d in (*) do pushd %%d & (for /d %%d in (*) do pushd %%d & echo Git Pulling %%d ... & git pull & popd) & popd +popd +@GOTO END + +:EMPTY +@ echo Empty target! Please assign a target path. +@ GOTO END + +:END