List branch sort by commit date

November 13, 2020

List branch sort by commit date

git for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'

Or

git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate

Search