Created
November 11, 2015 12:28
-
-
Save opsb/affc1b6902765cf2290b to your computer and use it in GitHub Desktop.
Git branches by 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
| #!/usr/bin/env bash | |
| git for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:blue)%(committerdate:relative)%(color:reset) %(color:red)%(refname)%(upstream:track)%(color:reset) %(authorname) %(objectname:short) %(color:green)%(contents:subject)' | sed 's/refs\/heads\///g' | less -XFR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment