~crg/config

50bdae07e635b57cc2b692f7ef04f51092795498 — Charles Gould 3 months ago 47ac25f master
git: consolidate git log commands
2 files changed, 1 insertions(+), 4 deletions(-)

M fish/conf.d/abbr.fish
M git/config
M fish/conf.d/abbr.fish => fish/conf.d/abbr.fish +0 -1
@@ 20,7 20,6 @@ abbr -a gdc 'git diff --cached'
abbr -a gdh 'git diff --cached HEAD~'
abbr -a gf 'git fetch --prune'
abbr -a gl 'git logsearch -10'
abbr -a glo 'git log --oneline -10'
abbr -a gr 'git restore'
abbr -a gs 'git status'
abbr -a gst 'git stash'

M git/config => git/config +1 -3
@@ 1,9 1,7 @@
[alias]
	aliases    = config --get-regexp --includes 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) %(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(blue)%cs%C(reset) %C(yellow)%h%C(reset) %C(normal)%s%C(reset)'
	logsearch  = log --color=always --pretty=tformat:'%C(blue)%cs %C(auto)%h%d %s%C(reset)'
	rbi        = rebase --interactive
	wipe       = restore --staged --worktree
[color "status"]