; ~/.gitconfig — PUBLIC tier. ; ; Nothing here identifies you. Your name, your email, your signing key and the ; Gitea host rewrites are identity, not configuration, so they live in the ; private tier — which writes ~/.config/git/config.local. The include below is ; the seam between the two. Git treats a missing include as a no-op, so a ; public-only machine reads this file and stops. ; ; Do not add [user] here. If `git commit` complains that it does not know who ; you are, the private tier has not been applied, and that is the correct ; complaint. [init] defaultBranch = main [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true {{ if eq .chezmoi.os "darwin" }} [credential] helper = manager {{ end }} [include] path = ~/.config/git/config.local