Last active
April 30, 2019 23:19
-
-
Save JamieMason/4976c57c5bae0b7ed3404eb794056613 to your computer and use it in GitHub Desktop.
List local and remote git branches in date order and display them in a table.
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/remotes/ --format="%(HEAD) %(color:yellow)%(refname:short)%(color:reset)|%(color:red)%(objectname:short)%(color:reset)|%(contents:subject)|%(authorname)|%(color:green)%(committerdate:relative)%(color:reset)" | column -t -s "|" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to this line.