Skip to content

Instantly share code, notes, and snippets.

@mminer237
Created June 20, 2023 13:14
Show Gist options
  • Save mminer237/825ca7aba0ad5f693845640ecfc64b7e to your computer and use it in GitHub Desktop.
Save mminer237/825ca7aba0ad5f693845640ecfc64b7e to your computer and use it in GitHub Desktop.
Updates all git repositories in a directory
#!/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