4 ms·
I do the same thing for this slightly longer alias git for-each-ref --sort=-committerdate --format='%(committerdate:short): %(refname:short)' refs/heads/
by jkubicek 7y ago
I do the same thing for this slightly longer alias
git for-each-ref --sort=-committerdate --format='%(committerdate:short): %(refname:short)' refs/heads/
Including the dates is crucial; I'll frequently go in and clean up personal branches that are older than X months.
- sixstringtheory 7y agoI've got one really close to this: git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) %(committerdate:short) %(upstream:remoteref)' | column -t