Git – list branches by date modified

When you don’t remember the branch name.. 🙁

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

Leave a Reply

Your email address will not be published. Required fields are marked *