32 lines · 1.3 KB
[color]
    ui = auto
[user]
    name = Christian Rocha
    email = christian@rocha.is
    signingkey = ECB3F15EBAC701F3DA300285D6CC7A16E5878018
[alias]
    st = status
    ci = commit
    co = checkout
    i = instaweb
    count = !git log --pretty=oneline | wc -l
    housekeeping = !git fsck && git fsck --unreachable && git gc --aggressive --prune && git prune && git prune-packed
    lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
    lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
    lg = !"git lg1"
    pr = !"git fetch origin pull/$1/head:pr-$1; git co pr-$1 #"
    quickfix = rebase --interactive HEAD^^
[merge]
    tool = !"~/.dotfiles/bin/gitdiff"
[core]
    excludesfile = ~/.gitignore
    editor = vim
[push]
    default = matching
[url "git@github.com:charmbracelet"]
    insteadOf = https://github.com/charmbracelet
[url "git@github.com:meowgorithm"]
    insteadOf = https://github.com/meowgorithm
[commit]
    gpgsign = true