Add an alias to show all aliases
This commit is contained in:
parent
3d57591a6a
commit
297ac5e14c
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
[alias]
|
[alias]
|
||||||
|
|
||||||
|
# list aliases
|
||||||
|
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
|
||||||
# lg
|
# lg
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue