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