Last active
September 19, 2017 09:13
-
-
Save hsaito/45faa793388db9b488cc5c1c37aa6863 to your computer and use it in GitHub Desktop.
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
$dir = Get-Location | |
[string]::Format("Base: {0}",$dir) | |
foreach ($d in Get-ChildItem -Directory $dir) | |
{ | |
[String]::Format("Processing: {0}",$d) | |
Push-Location $d | |
git reset --hard | |
git pull origin | |
git push origin | |
Pop-Location | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment