1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 18:06:00 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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