X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.gitconfig;h=38e51c01ff5b7e998113c9d92e9c2ab8eb152ff5;hp=85fc032aeea5d60bd8f827ba70346165c2cb4071;hb=HEAD;hpb=cf5f78bd9314e698743b785236369e245473e3f0 diff --git a/.gitconfig b/.gitconfig index 85fc032..38e51c0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,6 +1,25 @@ +[color] + ui = auto +[color "diff"] + frag = yellow + new = cyan + meta = green +[color "interactive"] + prompt = green + header = yellow [user] + name = Iain Patterson email = me@iain.cx [http] sslVerify = false [pager] diff = false +[alias] + again = commit --amend -C HEAD + alias = config --global --get-regexp 'alias\\..*' + amend = commit --amend + graph = log --graph --pretty=oneline + pretty = log --graph --pretty=format:'%C(green)%ai%Creset %C(magenta)%h%Creset %s %C(cyan)%d%Creset' + reabse = rebase + submit = commit -vuno + whereami = rev-parse --abbrev-ref HEAD