Change how gitconfig files are loaded

This commit is contained in:
Michael Campagnaro 2026-01-15 18:11:15 -05:00
parent 1474e23aea
commit 01edb8f277
Signed by: michael
SSH Key Fingerprint: SHA256:BclVFVbiPCYRI+ENizDBF/JCceCXAtTi+LNIL/hqO4A
2 changed files with 7 additions and 2 deletions

View File

@ -1,12 +1,15 @@
[include] [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] [init]
defaultBranch = master defaultBranch = master
[merge] [merge]
summary = true summary = true
tool = vimdiff tool = vimdiff
[core] [core]
excludesfile = ~/.gitignore.global excludesfile = ~/.private-dotfiles.common/gitignore
hookspath = ~/.git_hooks hookspath = ~/.git_hooks
preloadindex = true preloadindex = true
fscache = true fscache = true

View File

@ -1,3 +1,5 @@
NOTE: Best option is to create/store private keys in Bitwarden.
# Creating an elliptic curve keypair (ed25519) # Creating an elliptic curve keypair (ed25519)
* Create: `ssh-keygen -a 100 -t ed25519 -f ~/.ssh/filename` * Create: `ssh-keygen -a 100 -t ed25519 -f ~/.ssh/filename`