Skip to content

Instantly share code, notes, and snippets.

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