1
0
Fork 0
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:
Hyacinthe Cartiaux 2016-02-04 12:31:56 +01:00
parent ec7fcc237d
commit 18d57d432a

View file

@ -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