#!/usr/bin/env bash
## Shows the date, branch name, commit hash, and commit subject of branches, from most recently modified to oldest branches.
## Source: git-extra-commands

#
# Shows the most recently touched branches, with the date, branch name,
# commit hash, and commit subject.

exec git for-each-ref \
  --format='%(committerdate:short) %(refname:short) %(objectname:short) %(contents:subject)' \
  --sort=-committerdate \
  refs/heads
