3 ms·
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
by m4rtink 1mo ago
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
- fwip 1mo ago> 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?
- dataflow 1mo agoProbably 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.
- eru 1mo agoGit defaults are a bit weird. You also have to enable rerere yourself, when it should be on by default.