Skip to content

Instantly share code, notes, and snippets.

@EricZimmerman
Created August 4, 2019 20:54
Show Gist options
  • Save EricZimmerman/37245bd7f9d5c169efecfad76b97a63f to your computer and use it in GitHub Desktop.
Save EricZimmerman/37245bd7f9d5c169efecfad76b97a63f to your computer and use it in GitHub Desktop.
Update all git repos under a dir in powershell
Get-ChildItem -Directory | foreach { Write-Host "`n■ Getting latest for $_ ↓" | git -C $_.FullName pull -v}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment