git recent-branches - tell me what i worked on recently

This commit is contained in:
Yan Pritzker 2013-10-09 13:56:30 -05:00
parent 5b850667cd
commit bfc1ca5b71

View File

@ -20,6 +20,9 @@
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
snapshots = !git stash list --grep snapshot
#via http://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
recent-branches = !git for-each-ref --count=5 --sort=-committerdate refs/heads/ --format='%(refname:short)'
# branch
b = branch -v # branch (verbose)