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
1 changed files with 2 additions and 0 deletions

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