Created
November 3, 2012 18:27
-
-
Save cbartlett/4008195 to your computer and use it in GitHub Desktop.
List remote branches by last updated 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 -r|awk '{print $1}'`;do echo `git show --pretty=format:"%Cgreen%ci %Cblue%cr %Cred%cn %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