Created
January 17, 2014 08:39
-
-
Save kevinkepp/8470191 to your computer and use it in GitHub Desktop.
Git: List all branches by the date of their last commit
This file contains hidden or 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
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate) %(refname)' | sed 's/refs\/heads\///g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment