X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.gitconfig;h=38e51c01ff5b7e998113c9d92e9c2ab8eb152ff5;hp=36bc4850bdd7109eb5cfda1e2fc114a614b9d84f;hb=fcd45e190b92e5f5f25df29df408b31038c94816;hpb=f83157208ad9afddb8ba0af9e9c2da28f68b7d43 diff --git a/.gitconfig b/.gitconfig index 36bc485..38e51c0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -8,8 +8,18 @@ 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