summaryrefslogtreecommitdiff
path: root/gitconfig
blob: 1a0a7d85639cea56a8e8ea2c5c6a7a31431efc7c (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 = 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]
    graph = log --graph --decorate --pretty=oneline --abbrev-commit --all