# Template for the user-scope ~/.gitconfig, rendered by install.sh. Git never
# expands $VARS, so the identity and the gitflow push mode are placeholders
# filled at install time with the installer's answers. A repo .git/config
# still overrides these values for that repo.
[user]
    name = @USER@
    email = @EMAIL@
[gitflow]
    # Push mode of the gitflow hooks: false = manual, you run `git push`;
    # true = every commit and merge is pushed. Exact true/false only (fail-closed).
    autopush = @AUTOPUSH@
[push]
    default = current
[color]
    ui = auto
[pull]
    rebase = true
[core]
    editor = vim
    pager = delta
    excludesfile = ~/.gitignore
    # gitflow hooks (created by `make link` in claude-config); git expands ~ itself.
    hooksPath = ~/.claude/githooks
[advice]
    detachedHead = false
[merge]
    tool = vimdiff
    conflictStyle = zdiff3
[pager]
    branch = false
[url "git@salsa.debian.org:installer-team/"]
    pushInsteadOf = https://salsa.debian.org/installer-team/
[interactive]
    diffFilter = delta --color-only
[delta]
    navigate = true  # use n and N to move between diff sections
    dark = true      # or light = true, or omit for auto-detection
