From 01edb8f2770e91f74d8a23c492217238bb6cffc0 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Thu, 15 Jan 2026 18:11:15 -0500 Subject: [PATCH] Change how gitconfig files are loaded --- .gitconfig | 7 +++++-- dotfiles/ssh.md | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 2e8736f..7813731 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,12 +1,15 @@ [include] - path = ~/.gitconfig.private + # Shared config from private dotfiles + path = ~/.private-dotfiles.common/gitconfig + # Computer-specific config from private dotfiles (might not exist) + path = ~/.private-dotfiles/gitconfig [init] defaultBranch = master [merge] summary = true tool = vimdiff [core] - excludesfile = ~/.gitignore.global + excludesfile = ~/.private-dotfiles.common/gitignore hookspath = ~/.git_hooks preloadindex = true fscache = true diff --git a/dotfiles/ssh.md b/dotfiles/ssh.md index b0dd043..7fc5cc1 100644 --- a/dotfiles/ssh.md +++ b/dotfiles/ssh.md @@ -1,3 +1,5 @@ +NOTE: Best option is to create/store private keys in Bitwarden. + # Creating an elliptic curve keypair (ed25519) * Create: `ssh-keygen -a 100 -t ed25519 -f ~/.ssh/filename`