Created
July 18, 2018 16:06
-
-
Save elijahmanor/61da4edf8fa6810ff03e9cc6f801d192 to your computer and use it in GitHub Desktop.
git recent
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
| [alias] | |
| recent = !git for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) (%(color:green)%(committerdate:relative)%(color:reset))' |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Command gleaned and tweaked from https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit