summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-03-19 19:51:33 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-03-19 19:51:33 +0100
commitd31a61d185a45a14a0707cce60da7b196007b8a7 (patch)
tree8833635706c8c4782bdaeeeb7feabbfe7e7a6cdc
parent4743f4538f8237fc26032663a460392d5937b142 (diff)
downloaddotfiles-d31a61d185a45a14a0707cce60da7b196007b8a7.tar.gz
dotfiles-d31a61d185a45a14a0707cce60da7b196007b8a7.zip
updated gitconfig
-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