Show branches by commit date
13 September 2024 (Updated 24 October 2024)
git for-each-ref --sort=-committerdate refs/heads/ --format="%(committerdate:iso8601) %(refname:short)" | head
This will output something like:
Where the branch with the most recent commit is shown first.
Tagged:
Git