Created
April 22, 2016 05:55
-
-
Save evaldasg/a1d4fca2b656c11c31ed26711cf1be65 to your computer and use it in GitHub Desktop.
Show git branches by date
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
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