Created
June 20, 2023 13:14
-
-
Save mminer237/825ca7aba0ad5f693845640ecfc64b7e to your computer and use it in GitHub Desktop.
Updates all git repositories in a directory
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
#!/bin/pwsh | |
cd $PSScriptRoot; | |
Get-ChildItem -Directory | % {cd $_; git pull; cd ..;}; | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment