Today I Learned

hashrocket A Hashrocket project

List local branches sorted by most recent commit

If you have a lot of local branches in your repo and you want to sort them by most recent commits:

git for-each-ref --sort=-committerdate refs/heads/

Source

See More #git TILs