Created
May 25, 2018 19:13
-
-
Save ericluria/8f1e0296be04511aec4224e87cb3548e to your computer and use it in GitHub Desktop.
Set a global alias to view recent branches with `git recent`
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 config --global alias.recent "for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment