From 1c74c82fda2005a5f158ddb2fe6d653a5b712480 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Sat, 22 Aug 2020 19:54:35 -0400 Subject: [PATCH] git: add upstream to branchsort --- git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/config b/git/config index 009fc02..c42e382 100644 --- a/git/config +++ b/git/config @@ -6,7 +6,7 @@ editor = nvim [alias] aliases = config --get-regexp alias - branchsort = 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)' + branchsort = 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) %(color:green)%(upstream:short)%(color:reset)' can = commit --amend --no-edit cand = commit --amend --no-edit --date=now logsearch = log --color=always --format=tformat:'%C(green)%h%C(reset) %C(blue)%cs%C(reset) %C(normal)%s%C(reset)'