git: list branches by recent activity
• 59 words • 1 min • updated
Tweak ~/.gitconfig:
ini
[alias]
xl = branch -vv
[branch]
sort = -committerdateResult: git xl will print your repository branches sorted by the most
recent ones in terms of activity, instead of the alphabetical default.
I have this setting for a long time, and IMHO it’s a better default.
This post by Tekin Süleyman prompted me to share it.