3 ms·
So many commenters here providing alternatives seem to miss the key differentiating feature: recently checked out vs. recently committed to. For me the former i
by amarshall 7y ago
So many commenters here providing alternatives seem to miss the key differentiating feature: recently checked out vs. recently committed to. For me the former is immensely more useful as I may have gone to a branch to do something other than commit, and those are missed with the latter.
Anyway, I’ve had my own (far more involved) version of listing recently checked-out branches for years. It will also filter out the current branch and deleted branches, and has a rudimentary interactive selection.
Maybe someone will find it useful as I have.
https://github.com/amarshall/git-recent-branches https://github.com/amarshall/git-recent-branches