blob: b299ccefb3a16a6f9b14f67748172552233e2a46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# dotfiles -- gitconfig
# author: johannst
[user]
email = johannes.stoelp@gmail.com
name = Johannes Stoelp
[init]
defaultBranch = main
[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(cyan)%>(10)%ad %C(green)%>(8)%aN %C(auto)%d %Creset%s
[alias]
graph = log --graph --decorate --pretty=oneline --abbrev-commit --all
|