Change how gitconfig files are loaded
This commit is contained in:
parent
1474e23aea
commit
01edb8f277
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user