summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitconfig25
1 files changed, 19 insertions, 6 deletions
diff --git a/gitconfig b/gitconfig
index 37a1958..ba29e4d 100644
--- a/gitconfig
+++ b/gitconfig
@@ -4,14 +4,27 @@
[user]
email = johannes.stoelp@gmail.com
name = johannst
+[core]
+ editor = vim
+[color]
+ ui = true
[diff]
tool = vimdiff
[difftool]
prompt = false
+[log]
+ date = short
+[blame]
+ date = relative
+ coloring = highlightRecent
+[format]
+ # %h abbreviated commit hash
+ # %ad author date (respects date format)
+ # %aN author name
+ # %d ref names, like the --decorate option
+ # %s commit message subject
+ # %>(N) set width, padd space on the left
+ # %<(N) set width, padd space on the right
+ pretty = format:%C(auto)%h %C(blue)%>(10)%ad %C(green)%>(8)%aN %C(auto)%d %Creset%s
[alias]
- lol = log --graph --decorate --pretty=oneline --abbrev-commit --all
- vimdiff = difftool
-[core]
- editor = vim
-[color]
- ui = true
+ graph = log --graph --decorate --pretty=oneline --abbrev-commit --all