wiki:git_pull_via_ssh_public_key
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:git_pull_via_ssh_public_key [2021/03/30 11:18] – created antisa | wiki:git_pull_via_ssh_public_key [2024/01/30 10:50] (current) – add custom host example antisa | ||
---|---|---|---|
Line 24: | Line 24: | ||
</ | </ | ||
+ | ==== Use different host ==== | ||
+ | You can use a custom hostname as well, e.g. | ||
+ | |||
+ | |||
+ | < | ||
+ | Host github-someorg | ||
+ | HostName github.com | ||
+ | IdentityFile ~/ | ||
+ | </ | ||
+ | |||
+ | Then to clone use that host | ||
+ | |||
+ | git clone git@github-someorg: | ||
+ | | ||
====== Tested on ====== | ====== Tested on ====== | ||
* | * | ||
====== See also ====== | ====== See also ====== | ||
+ | * [[wiki: | ||
====== References ====== | ====== References ====== | ||
wiki/git_pull_via_ssh_public_key.1617103135.txt.gz · Last modified: 2021/03/30 11:18 by antisa