Add some more aliases
This commit is contained in:
parent
297ac5e14c
commit
b791dfacf3
1 changed files with 5 additions and 3 deletions
|
@ -2,12 +2,14 @@
|
||||||
|
|
||||||
# list aliases
|
# list aliases
|
||||||
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
|
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
|
||||||
# lg
|
bdm = "!git branch --merged | grep -v '*' | xargs -n 1 git branch -d"
|
||||||
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
|
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
|
||||||
# lg2
|
|
||||||
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
||||||
# lastchange
|
|
||||||
lastchange = log -p --follow -n 1
|
lastchange = log -p --follow -n 1
|
||||||
|
plog = log --graph --pretty='format:%C(red)%d%C(reset) %C(yellow)%h%C(reset) %ar %C(green)%aN%C(reset) %s'
|
||||||
|
rank = shortlog -sn --no-merges
|
||||||
|
st = status -sb
|
||||||
|
tlog = log --stat --since='1 Day Ago' --graph --pretty=oneline --abbrev-commit --date=relative
|
||||||
|
|
||||||
[apply]
|
[apply]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue