Add ssh key to gitconfig

This commit is contained in:
exu 2024-11-29 07:20:07 +01:00
parent af776c4583
commit f0b6394c34

View File

@ -1,6 +1,8 @@
[user] [user]
name = exu name = exu
email = mrc@frm01.net email = mrc@frm01.net
[core]
sshCommand = "ssh -i $HOME/.ssh/id_ed25519_git"
[init] [init]
defaultBranch = main defaultBranch = main
# Some popular options to test: # Some popular options to test:
@ -26,5 +28,5 @@
# checkout latest tag # checkout latest tag
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' - latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
# conditonal config # conditonal config
[includeIf "gitdir:**/occ/**"] [includeIf "gitdir:**gitprojects/occ/**"]
path = ~/.gitconfig-occ path = ~/.gitconfig-occ