Created
November 11, 2019 23:42
-
-
Save dg1an3/24a8af3a9df5c598fde400f0494e55ef to your computer and use it in GitHub Desktop.
get the status of all git repos from a common parent directory
This file contains 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
gci . |?{$_.PSIsContainer}|?{Test-Path $_\.git}|foreach {pushd $_; git status; popd} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment