From 14ebf11443c16dbb28d01ed57474e23cf556ff52 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Mon, 29 Mar 2010 07:46:20 +1100 Subject: [PATCH] QA /technical/2010/01/clone-git-repo-on-non-standard-port/ --- .../2010/01/clone-git-repo-on-non-standard-port.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/technical/2010/01/clone-git-repo-on-non-standard-port.html b/content/technical/2010/01/clone-git-repo-on-non-standard-port.html index 0af952c..aa568fb 100644 --- a/content/technical/2010/01/clone-git-repo-on-non-standard-port.html +++ b/content/technical/2010/01/clone-git-repo-on-non-standard-port.html @@ -1,7 +1,5 @@ I use an SSH tunnel to access my computer at work from home. On occasion I want to clone a git repo that is on the remote server. To do so its necessary to specify the port, which doesn't work with the conventional clone syntax. -E.g. git clone hostname:path/to/repo. The solution is to be a little more specific: +E.g. `git clone hostname:path/to/repo`. The solution is to be a little more specific: -
-git clone ssh://localhost:2222/~username/path/to/repo
-
\ No newline at end of file + git clone ssh://localhost:2222/~username/path/to/repo