Skip to content

Instantly share code, notes, and snippets.

@btoone
Created April 3, 2012 03:54
Show Gist options
  • Select an option

  • Save btoone/2289168 to your computer and use it in GitHub Desktop.

Select an option

Save btoone/2289168 to your computer and use it in GitHub Desktop.
# show last modified date for each git branch in a project
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 -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment