dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit b2316db62f6023c06e69161446f07d9cbd5f0b94
parent 926027cf2081553b38d1f04ee5e2a3910d989c5f
Author: Chris Bracken <chris@bracken.jp>
Date:   Thu, 27 Apr 2023 10:34:50 -0700

git: Add support for host-local config file

If the file ~/.config/git/local_config exists, merge its contents into
the git config. This allows for changing host-specific defaults such as
email and gpg signing key.

Diffstat:
A.config/git/.gitignore | 1+
M.config/git/config | 4++++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/.config/git/.gitignore b/.config/git/.gitignore @@ -0,0 +1 @@ +local_config diff --git a/.config/git/config b/.config/git/config @@ -43,3 +43,7 @@ signingkey = 9EF6957AF673652E4AB5542DBBE45868CBE8A8FE [http] cookiefile = ~/.gitcookies + +# If a host-local config file is present, merge it into our config. +[include] + path = ~/.config/git/local_config