Skip to content

Instantly share code, notes, and snippets.

View SirkleZero's full-sized avatar

Joshua Gall SirkleZero

View GitHub Profile
@SirkleZero
SirkleZero / git-all.ps1
Created September 25, 2012 22:40
This powershell script will enumerate the Git projects in a parent directory, perform a fetch on each remote and then print out the status of the repo.
$global:GitAllSettings = New-Object PSObject -Property @{
FolderForegroundColor = [ConsoleColor]::Cyan
}
function git-all()
{
$s = $global:GitAllSettings
dir -r -i .git -fo | % {
pushd $_.fullname
cd ..