Skip to content

Instantly share code, notes, and snippets.

@jchadwick
Created April 4, 2012 02:15
Show Gist options
  • Save jchadwick/2297153 to your computer and use it in GitHub Desktop.
Save jchadwick/2297153 to your computer and use it in GitHub Desktop.
PowerShell Source Control Status
function status() {
if(Test-Path .svn) {
Write-Host
svn status
Write-Host
}
if(Test-Path .git) {
git status
}
if(Test-Path .hg) {
hg status
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment