wiki:git_pull_via_ssh_public_key
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:git_pull_via_ssh_public_key [2022/03/14 13:35] – [See also] add new link 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 ====== | ||
* | * |
wiki/git_pull_via_ssh_public_key.1647264917.txt.gz · Last modified: 2022/03/14 13:35 by antisa