Add ssh key to gitconfig
This commit is contained in:
parent
af776c4583
commit
f0b6394c34
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user