git-clone: add core.sshCommand example (#6109)
This commit is contained in:
parent
b139da2bb6
commit
2f553aca07
|
|
@ -30,3 +30,7 @@
|
|||
- Clone an existing repository only fetching a specific branch:
|
||||
|
||||
`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}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue