Last active
August 12, 2020 20:03
-
-
Save MikaelPorttila/21ca1b5bd821b229ee6e2f324a79262f to your computer and use it in GitHub Desktop.
Refresh all git repositories (require pwsh 7.0)
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
Get-ChildItem | ForEach-Object -Parallel { git -C $_ fetch; git -C $_ pull; } -ThrottleLimit 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment