Skip to content

Instantly share code, notes, and snippets.

@oyvindk
oyvindk / gitstatus.ps1
Last active August 29, 2015 14:15
Check git status in subfolders
$fn = $($env:temp + "\gitStat.txt")
$dir = dir $pwd | ?{$_.PSISContainer}
$start = $pwd
$anyChanges = 0
foreach ($d in $dir) {
cd $d
if(Test-Path $fn) {
Remove-Item $fn
}
& git status | Out-File $fn
try {
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinstm ruby
cinstm nodejs.install
cinstm ConEmu
cinstm windbg
cinstm git.install