Skip to content

Instantly share code, notes, and snippets.

@abramovk
Last active December 2, 2023 11:56
Show Gist options
  • Save abramovk/e3b1b26e0a54805e46243fc3191a01b2 to your computer and use it in GitHub Desktop.
Save abramovk/e3b1b26e0a54805e46243fc3191a01b2 to your computer and use it in GitHub Desktop.
Update git repos recursively (windows)
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