Created
February 5, 2013 08:04
-
-
Save beatak/4712970 to your computer and use it in GitHub Desktop.
via http://d.hatena.ne.jp/kazuhooku/20130205/1360039870 put this file (without suffix) in /usr/local/bin and chmod a+x. in git repository, type `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
#!/bin/sh | |
(for i in `git branch | colrm 1 2` ; do echo `git log --date=iso8601 -n 1 --pretty="format:[%ai] %h" $i` $i ; done) | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment