git: sort branches by date

This commit is contained in:
Charles Gould 2020-04-09 02:15:28 -05:00
parent 87fdffca9e
commit b7dcf1ee16

View File

@ -7,7 +7,7 @@
pager = diff-so-fancy | less --tabs=4 -RFX pager = diff-so-fancy | less --tabs=4 -RFX
[alias] [alias]
aliases = config --get-regexp alias aliases = config --get-regexp alias
br = branch br = branch --sort='-committerdate' --format='%(HEAD) %(color:blue)%(committerdate:short)%(color:reset) - %(if)%(worktreepath)%(then)%(color:reverse yellow)%(refname:short)%(color:reset)%(else)%(color:yellow)%(refname:short)%(color:reset)%(end)'
co = checkout co = checkout
df = diff df = diff
dc = diff --cached dc = diff --cached
@ -57,3 +57,6 @@
default = current default = current
[log] [log]
date = human date = human
[stash]
showPatch = true
showStat = true