git-clone: add core.sshCommand example (#6109)

This commit is contained in:
Axel Navarro
2021-06-10 13:26:20 -03:00
committed by GitHub
parent b139da2bb6
commit 2f553aca07

View File

@@ -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}}`