List recent branches committed to
Published: April 14, 2021
If you need to find out recent branches you have worked on:
sh
git for-each-ref --sort=-committerdate refs/heads/
You can also use --format
to list the date of the commit:
sh
git for-each-ref --sort=-committerdate --format='%(refname:short) (%(committerdate))' refs/heads/