[core]
    #autocrlf = true  # Windows
    autocrlf = input # Linux
    editor = vim
[user]
    name = "Chris Coley"
    email = chris@codingallnight.com
[credential]
    helper = cache --timeout=43200
[push]
    default = simple
[merge]
    log = 50
[diff]
    compactionHeuristic = true
    algorithm = histogram
[alias]
    ; helpers
    alias = config --get-regexp ^alias\\.
    colors = log -1 HEAD --color --pretty=format:' \
Plain   %C(magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
BOLD    %C(bold magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
DIM     %C(dim magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
UL      %C(ul magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
STRIKE  %C(strike magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
BLINK   %C(blink magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
REVERSE %C(reverse magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)'

    ; 'git log' aliases
    ll = log --stat --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'
    lg = log --color --graph --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'
    lga = log --all --color --graph --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'

    ; everything else
    ahead = show --name-status @{u}..HEAD
    behind = show --name-status HEAD..@{u}
    changed = show --name-status
    fs = !git fetch && git status
    last = show --name-status HEAD
    pf = pull --ff-only
    st = status
    stat = status
    sti = status --ignored
    unstage = reset HEAD --
[diff "ansible-vault"]
    textconv = PAGER=cat ansible-vault view
    cachetextconv = false
[filter "lfs"]
    process = git-lfs filter-process
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f

; vi: set ts=4 sw=4 et ft=gitconfig: