Created
September 26, 2012 13:18
-
-
Save tmiller/3787980 to your computer and use it in GitHub Desktop.
Get status of working tree
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
git status --porcelain | sort -u | sed -e 's/^.\(.\).*/\1/' -e 's/M/*/' -e 's/D/-/' -e 's/?/+/' | tr -d '\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment