From 2f553aca0752a5ac0cb7697268dcbcd75c005d51 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Thu, 10 Jun 2021 13:26:20 -0300 Subject: [PATCH] git-clone: add core.sshCommand example (#6109) --- pages/common/git-clone.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index a3dad19151..19337afc08 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -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}}`