Forked from jasonrudolph/git-branches-by-commit-date.sh
Last active
August 29, 2015 13:58
-
-
Save FrozenCow/10016111 to your computer and use it in GitHub Desktop.
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 for-each-ref --format='%(committerdate:iso8601) %(committerdate:relative) %(refname)' --sort -committerdate |
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
# Example output (resulting from running command on the Rails repo — https://github.com/rails/rails) | |
$ git for-each-ref --format='%(committerdate:iso8601) %(committerdate:relative) %(refname)' --sort -committerdate | head -10 | |
2014-04-07 08:23:58 +0200 78 minutes ago refs/heads/master | |
2014-04-07 08:23:58 +0200 78 minutes ago refs/remotes/origin/HEAD | |
2014-04-07 08:23:58 +0200 78 minutes ago refs/remotes/origin/master | |
2014-04-04 19:46:48 -0300 2 days ago refs/remotes/origin/4-0-stable | |
2014-04-04 19:44:42 -0300 2 days ago refs/remotes/origin/4-1-stable | |
2014-04-04 18:14:54 -0300 2 days ago refs/remotes/origin/4-1-0 | |
2014-03-28 10:51:52 -0700 10 days ago refs/remotes/origin/test_equality_operators_return_values | |
2014-03-25 10:18:42 -0700 13 days ago refs/remotes/origin/adequaterecord | |
2014-03-14 14:35:22 -0300 3 weeks ago refs/tags/v4.0.4 | |
2014-03-11 14:28:49 -0300 4 weeks ago refs/tags/v4.0.4.rc1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment