Forked from jasonrudolph/git-branches-by-commit-date.sh
Last active
August 29, 2015 13:56
-
-
Save thushan/9318086 to your computer and use it in GitHub Desktop.
Revisions
-
thushan revised this gist
Mar 3, 2014 . 2 changed files with 11 additions and 17 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,3 @@ # Credit http://stackoverflow.com/a/2514279 && https://gist.github.com/jasonrudolph/1810768 for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci\t%cr\t%an" $branch | head -n 1` \\t$branch; done | sort -r # See https://www.kernel.org/pub/software/scm/git/docs/git-show.html for other data 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 charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,9 @@ # Example output (resulting from running command on the Rails repo — https://github.com/git-tfs/) 2014-01-18 03:42:25 -0800 6 weeks ago Matt Burke origin/master 2013-11-01 11:47:57 +0800 4 months ago Sean M. Collins origin/issue_474 2013-06-14 02:49:34 -0400 9 months ago Matt Burke origin/lightfoot 2013-06-08 08:01:43 -0400 9 months ago Matt Burke origin/alternate-cleanup-implementations 2013-06-08 08:00:07 -0400 9 months ago Matt Burke origin/time-since-start 2013-06-08 07:48:25 -0400 9 months ago Matt Burke origin/debug_slow_commit 2013-02-25 13:00:19 -0500 1 year ago Matt Burke origin/rename-should-not-delete -
jasonrudolph renamed this gist
Feb 12, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jasonrudolph created this gist
Feb 12, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # Credit http://stackoverflow.com/a/2514279 for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # Example output (resulting from running command on the Rails repo — https://github.com/rails/rails) 2012-02-12 03:20:24 -0800 9 hours ago origin/master 2012-02-10 10:34:35 -0800 2 days ago origin/3-2-stable 2012-01-31 09:56:12 -0800 12 days ago origin/3-1-stable 2012-01-24 11:18:06 -0800 3 weeks ago origin/3-0-stable 2011-12-31 05:09:14 -0800 6 weeks ago origin/2-3-stable 2011-11-25 09:49:54 +0000 3 months ago origin/serializers 2011-06-16 12:08:26 -0700 8 months ago origin/compressor 2011-05-24 16:03:41 -0700 9 months ago origin/sass-cleanup 2011-01-17 14:14:24 +1300 1 year, 1 month ago origin/2-1-stable 2011-01-17 14:13:56 +1300 1 year, 1 month ago origin/2-2-stable 2010-08-17 17:11:17 -0700 1 year, 6 months ago origin/deps_refactor 2010-05-16 22:23:44 +0200 1 year, 9 months ago origin/encoding 2009-09-10 17:41:18 -0700 2 years, 5 months ago origin/2-0-stable 2008-02-19 02:09:55 +0000 4 years ago origin/1-2-stable