mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
[git] Add git lol alias (pretty logs)
This commit is contained in:
parent
ec7fcc237d
commit
18d57d432a
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
||||||
w = whatchanged --abbrev-commit
|
w = whatchanged --abbrev-commit
|
||||||
ls = ls-files
|
ls = ls-files
|
||||||
gr = log --graph --oneline --decorate
|
gr = log --graph --oneline --decorate
|
||||||
|
lol = log --graph --pretty=format:\"%C(yellow)%h%Creset%C(cyan)%C(bold)%d%Creset %C(cyan)(%cr)%Creset %C(green)%cn%Creset %s\"
|
||||||
# From http://progit.org/book/ch2-11.html
|
# From http://progit.org/book/ch2-11.html
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
|
|
Loading…
Reference in a new issue