git-clone: add core.sshCommand example (#6109)
This commit is contained in:
@@ -30,3 +30,7 @@
|
|||||||
- Clone an existing repository only fetching a specific branch:
|
- Clone an existing repository only fetching a specific branch:
|
||||||
|
|
||||||
`git clone --branch {{name}} --single-branch {{remote_repository_location}}`
|
`git clone --branch {{name}} --single-branch {{remote_repository_location}}`
|
||||||
|
|
||||||
|
- Clone an existing repository using a specific SSH command:
|
||||||
|
|
||||||
|
`git clone --config core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{remote_repository_location}}`
|
||||||
|
Reference in New Issue
Block a user