Created
October 22, 2014 13:46
-
-
Save itsthatguy/87a4c98bff1acf15ae8c to your computer and use it in GitHub Desktop.
List git branches by date
This file contains hidden or 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
| alias gitfu='for k in `git branch|sed s/^..//`;do echo -e `git log -1 --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" "$k"`\\t"$k";done|sort' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment