Use relativenumber if available.
[profile.git] / .gitconfig
index 36bc485..4a23a84 100644 (file)
@@ -8,8 +8,17 @@
        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