git: short log with commit date
This commit is contained in:
parent
3c166211c5
commit
01eb225dca
@ -42,7 +42,8 @@ if status --is-interactive
|
|||||||
abbr -a -g gdc 'git diff --cached'
|
abbr -a -g gdc 'git diff --cached'
|
||||||
abbr -a -g gdh 'git diff --cached HEAD~'
|
abbr -a -g gdh 'git diff --cached HEAD~'
|
||||||
abbr -a -g gf 'git fetch --prune'
|
abbr -a -g gf 'git fetch --prune'
|
||||||
abbr -a -g gl 'git log --oneline -10'
|
abbr -a -g gl 'git logsearch -10'
|
||||||
|
abbr -a -g glo 'git log --oneline -10'
|
||||||
abbr -a -g gr 'git restore'
|
abbr -a -g gr 'git restore'
|
||||||
abbr -a -g gs 'git status'
|
abbr -a -g gs 'git status'
|
||||||
abbr -a -g gst 'git stash'
|
abbr -a -g gst 'git stash'
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
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)'
|
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(yellow)%h%C(reset) %C(blue)%cs%C(reset) %C(normal)%s%C(reset)'
|
||||||
rbi = rebase --interactive
|
rbi = rebase --interactive
|
||||||
wipe = restore --staged --worktree
|
wipe = restore --staged --worktree
|
||||||
[color]
|
[color]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user