added ssh text

This commit is contained in:
Sarah Faey 2024-09-19 01:33:08 +02:00
parent edd70bf0ee
commit 92d8faae1e

View file

@ -21,3 +21,4 @@ git config --global user.email "email@test.eu"
git config --global core.sshCommand 'ssh -p 222 -i ~/.ssh/git' git config --global core.sshCommand 'ssh -p 222 -i ~/.ssh/git'
-i is only needed for a non standard ssh-key name -i is only needed for a non standard ssh-key name
the global flag is optional and shouldn't be used for the sshCommand of other git servers are also used the global flag is optional and shouldn't be used for the sshCommand of other git servers are also used
the ssh setup only works for repositories which have been cloned via ssh