Created
July 8, 2016 06:02
-
-
Save kiewic/4c28690290ffd4c0b1affcc808196150 to your computer and use it in GitHub Desktop.
Perform git pull in all subdirectories that contain a git repository using PowerShell.
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 -Directory -Force -Recurse *.git | ForEach-Object { cd $_.Parent.FullName; Write-Host $_.Parent.FullName; git pull } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment