1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 01:03:35 +01:00

Git lg for fancy log

Standard esson user is etdeboone
This commit is contained in:
Eric Teunis de Boone 2018-04-07 08:31:16 +02:00
parent 8f4d69f208
commit 0c168bdc8d

View file

@ -18,3 +18,7 @@
autosetuprebase = always autosetuprebase = always
[diff] [diff]
tool = vimdiff tool = vimdiff
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%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
lg = !"git lg1"