Conversation

Jarkko Sakkinen

Git configuration is nice to keep in .config/git/config, as installation scripts and other tools tend to like write into ~/.gitconfig. They both are read when git starts.
1
0
1

Jarkko Sakkinen

Edited 11 days ago
I.e. it's a nice hack to "host-local" Git configuration without having to use "include.path" for local settings. For instance I have "user.email" in ~/.gitconfig and ~/.config/git/config is in the repository containing my home directory skeleton (i.e. dotfiles).
0
0
0