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:
parent
b139da2bb6
commit
2f553aca07
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue