Tech article
Sort branches by last commit date
No preview is available. Read the original article for the full story.
Hacker News | Aug 25, 2026 | speckx
Automated excerpt
August 24, 20269:55 AMI have too many git branches and like many people I developed a convoluted script to show me the most recent ones. Turns out with modern git it’s totally unnecessary. Just configure git branch to sort by the last commit date: You can also supply this on a one-off basis as git branch --sort committerdate.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.