git: add upstream to branchsort

This commit is contained in:
Charles Gould 2020-08-22 19:54:35 -04:00
parent d2f0f468e2
commit 1c74c82fda

View File

@ -6,7 +6,7 @@
editor = nvim editor = nvim
[alias] [alias]
aliases = config --get-regexp 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 can = commit --amend --no-edit
cand = commit --amend --no-edit --date=now 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)' logsearch = log --color=always --format=tformat:'%C(green)%h%C(reset) %C(blue)%cs%C(reset) %C(normal)%s%C(reset)'