logoalt Hacker News

m4rtinktoday at 1:17 AM2 repliesview on HN

I have been using something like this for 10+ years by this point - still wonder why it is not default or easier to do than a custom gitconfig/alias hack. :P


Replies

dataflowtoday at 1:30 AM

Probably because most of the time you list branches you goal isn't to discover what exists, but to find the specific one you're looking for.

fwiptoday at 1:25 AM

> Just configure git branch to sort by the last commit date:

> git config branch.sort committerdate

> You can also supply this on a one-off basis as git branch --sort committerdate.

These don't seem like hacks to me. What do you have in mind?