Created
October 5, 2025 02:24
-
-
Save reyronald/fbd2047863ca4f13ebaae31458ce9e8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| echo Starting git pull for all directories... | |
| echo. | |
| for /d %%i in (*) do ( | |
| if exist "%%i\.git" ( | |
| echo Pulling updates for: %%i | |
| cd "%%i" | |
| git pull | |
| echo. | |
| cd .. | |
| ) else ( | |
| echo Skipping %%i - not a git repository | |
| ) | |
| ) | |
| echo. | |
| echo Git pull completed for all repositories. | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment