From b7dcf1ee16f87c7098c17d329d16a7f680d0fd1c Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Thu, 9 Apr 2020 02:15:28 -0500 Subject: [PATCH] git: sort branches by date --- git/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git/config b/git/config index d8810a5..5787907 100644 --- a/git/config +++ b/git/config @@ -7,7 +7,7 @@ pager = diff-so-fancy | less --tabs=4 -RFX [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 df = diff dc = diff --cached @@ -57,3 +57,6 @@ default = current [log] date = human +[stash] + showPatch = true + showStat = true