Skip to content

Git

Sets basic Git defaults, such as the default branch, out of the box.

[user]
    email = {{ .git_email | quote }}
    name = {{ .git_name | quote }}
[pull]
    ff = only
[init]
    defaultBranch = main
(chezmoi_config/dot_gitconfig.tmpl)