Created
February 28, 2014 22:40
-
-
Save msabramo/9281548 to your computer and use it in GitHub Desktop.
Show git branches with info about last commit
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
bash -c 'for k in `git branch -a|perl -pe s/^..//`;do echo -e `git show --pretty=format:"%Cgreen %ci %H %Cblue %<(35)%cN %<(25)%cr%Creset" $k|head -n 1` $k;done|sort -r' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment