Created
August 22, 2019 22:24
-
-
Save oneEyedSunday/9b3096fe4ce1702274f807f6e833614d to your computer and use it in GitHub Desktop.
List git branches by last commit 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
git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From this SO answer