From d31a61d185a45a14a0707cce60da7b196007b8a7 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 19 Mar 2020 19:51:33 +0100 Subject: updated gitconfig --- gitconfig | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'gitconfig') 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 -- cgit v1.2.3