[gitconfig] Add new aliases
This commit is contained in:
parent
e8597d937c
commit
9eb3fc4a56
1 changed files with 5 additions and 0 deletions
|
@ -29,5 +29,10 @@
|
||||||
|
|
||||||
# Pretty branch graph
|
# Pretty branch graph
|
||||||
lg = log --oneline --abbrev-commit --all --graph --decorate --color
|
lg = log --oneline --abbrev-commit --all --graph --decorate --color
|
||||||
|
# Graph with additional info (author, date)
|
||||||
|
lga = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(bold red)%d%C(reset) %C(blue)[%an]%C(reset) %C(green)(%ar)%C(reset) - %C(white)%s%C(reset)' --all
|
||||||
# Same but also list modified files
|
# Same but also list modified files
|
||||||
lf = log --oneline --name-status --all --graph --decorate --color
|
lf = log --oneline --name-status --all --graph --decorate --color
|
||||||
|
|
||||||
|
# pull rebase
|
||||||
|
prb = pull --rebase
|
||||||
|
|
Loading…
Reference in a new issue