Skip to content

Instantly share code, notes, and snippets.

@xinmyname
Created July 3, 2017 23:11
Show Gist options
  • Save xinmyname/e1d11c629456d1609e41acee8a960002 to your computer and use it in GitHub Desktop.
Save xinmyname/e1d11c629456d1609e41acee8a960002 to your computer and use it in GitHub Desktop.
Powershell recursive git status
gci -r -fo -fi .git |% { $g = $_.Fullname; $r = $g.Substring(0,$g.Length-5); Write-Host($r); git -C $r status --porcelain --branch }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment