Live data from Hacker News

Sort branches by last commit date

ryangreenberg.com

11–20 of 56 posts

Re: Sort branches by last commit date

#19
post #2

Even better (IMHO!) is `git config branch.sort -committerdate` (note the `-`). This will sort newest committer date first.

Rebase an old branch and it suddenly looks recent again. The rewritten tip gets a fresh committer date.

Yes. This is what one wants, since if you have recently rebased it, you're clearly doing work with it. Meanwhile, branches you don't care to touch sink to the bottom of the list.
Post reply on HN