Skip to content

Instantly share code, notes, and snippets.

Rockin' in the new world.

David J Eddy davidjeddy

Rockin' in the new world.
View GitHub Profile
davidjeddy /
Created Sep 15, 2017 — forked from jasonrudolph/
List remote Git branches and the last commit date for each branch. Sort by most recent commit date.
# Credit
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r