Last active
January 6, 2020 07:10
-
-
Save emmanuelnk/91d948f8c6a25a27133c5baac7e980cd to your computer and use it in GitHub Desktop.
Git Recent: Add git alias to display recently accessed branches in descending order (and with color!)
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
[alias] | |
recent = "!r(){ git for-each-ref --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)' --color=always|column -ts'|'; }; r" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment