git: Sort branch by committerdate

This commit is contained in:
Sanchayan Maity 2024-04-18 19:22:28 +05:30
parent 3f5b09dd7d
commit d1ab3d43d6
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -9,6 +9,8 @@
--format='%(HEAD) %(color:bold green)%(committerdate:relative)%(color:reset)|%(color:yellow)%(refname:short)%(color:reset)|%(subject)' \
| head -n ${1:-15} | column -ts'|'; }; \
rb"
[branch]
sort = -committerdate
[blame]
# Mark any lines that have had a commit skipped using --ignore-rev with a `?`
markIgnoredLines = true