Last active
December 2, 2023 11:56
-
-
Save abramovk/e3b1b26e0a54805e46243fc3191a01b2 to your computer and use it in GitHub Desktop.
Update git repos recursively (windows)
This file contains 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
Get-ChildItem -Directory -Force -Recurse *.git | ForEach-Object { cd $_.Parent.FullName; Write-Host $_.Parent.FullName; git fetch --all; git pull --all } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment