;;; -*- mode: conf-unix; -*-

# User Setup
[user]
    name = Jonathan Leech-Pepin
    email = jonathan@leechpepin.com
    signingKey = 414E00D1FF7519DC
[gitlab]
    user = jleechpe
[github]
    user = jleechpe

# Push instead of configuration
[url "ssh://git@github.com/"]
    pushInsteadOf= https://github.com/
[url "git@codeberg.org:"]
    pushInsteadOf = https://codeberg.org/
[url "git@forgejo.leechpepin.com:"]
    pushInsteadOf = https://forgejo.leechpepin.com

# Defaults
[init]
    defaultBranch = main

[core]
    excludesFile = ~/.gitignore_global
    pager = delta

[interactive]
    diffFilter = delta --color-only

[delta]
    navigate = true
    side-by-side = true
    hyperlinks = true
    line-numbers = true

[diff]
    colorMoved = default

[commit]
    gpgsign = true

# Defaults for JLP Tech Consulting
[includeIf "gitdir:~/jlptech/"]
    path = ~/jlptech/.gitconfig