Created
March 30, 2015 15:45
-
-
Save colinhoernig/ba4d4c3e79a53243c165 to your computer and use it in GitHub Desktop.
List Git branches by last commit date
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
#!/bin/bash | |
git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) %(committerdate) %(authorname)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment