diff --git a/gitconfig b/gitconfig index eaa41062a624608bb704e37937199997a71d085a..eb5027f0e7e30b62845791c7c9fbec2ea3d469f1 100644 --- a/gitconfig +++ b/gitconfig @@ -5,12 +5,16 @@ default = simple [credential] helper = cache --timeout=43200 +[core] + #autocrlf = true # Windows + autocrlf = input # Linux + editor = vim [alias] alias = config --get-regexp ^alias\\. stat = status last = log -1 HEAD unstage = reset HEAD -- -[core] - #autocrlf = true # Windows - autocrlf = input # Linux - editor = vim + lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit + ll = log --pretty=format:'%C(yellow)%h%Cred%d %Creset%s%Cblue [%cn]' --decorate --numstat + +# vim: set ft=gitconfig: