Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

check age of git branch

$ git for-each-ref --sort=authordate --format '%(authordate:iso) %(align:left,25)%(refname:short)%(end) %(subject)' refs/heads
2014-06-26 13:48:07 -0700 test                      Sync with gitk/git-gui submodule fixes on master
2014-08-08 22:24:56 +0200 jk/blame-tree             Add (stubby) documentation for blame-tree
2015-01-27 16:38:49 +0100 nd/multiple-work-trees    t2026 needs procondition SANITY
2015-05-19 23:58:10 +0200 test-commit-no-tags       tests: avoid creating unnecessary tags in test_commit
2015-10-19 22:41:32 -0700 pu                        Merge branch 'jc/mailinfo' into pu
2015-10-23 12:02:50 -0700 debian-sid                debian: new upstream point release
2015-11-05 15:27:33 -0800 next                      Sync with master
2015-11-08 21:06:56 +0100 master                    check-ignore: correct documentation about output
Source by git.seveas.net #
 
PREVIOUS NEXT
Tagged: #check #age #git #branch
ADD COMMENT
Topic
Name
1+3 =