Make git lg look nicer

This commit is contained in:
Tobias Manske 2018-06-10 21:56:57 +02:00
parent a8d709d678
commit 2738f6cc94
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F

View File

@ -3,7 +3,7 @@
name = Tobias Manske
signingkey = 978D99F12D4E041F
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = 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
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
undo = reset HEAD~
[commit]