Skip to content

Instantly share code, notes, and snippets.

@gustavonobreza
Last active August 21, 2021 22:29
Show Gist options
  • Select an option

  • Save gustavonobreza/c436b69c9e2c89af89150a5ce6b5c9d5 to your computer and use it in GitHub Desktop.

Select an option

Save gustavonobreza/c436b69c9e2c89af89150a5ce6b5c9d5 to your computer and use it in GitHub Desktop.
Git pull in all folders in PowerShell
# Enter in folder with many cloned repositories, then run:
Get-ChildItem -Path . -Directory | ForEach-Object { cd $_.Name; git pull; cd ..}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment