Git development
 help / color / mirror / Atom feed
From: Mark Hills <Mark.Hills@framestore.com>
To: git@vger.kernel.org
Subject: Clone to an SSH destination
Date: Mon, 3 Sep 2012 11:21:43 +0100 (BST)	[thread overview]
Message-ID: <alpine.LFD.2.01.1209031059480.4753@sys880.ldn.framestore.com> (raw)

How do I clone a repo _to_ a new repo over SSH? I tried:

  cd xx
  git clone --bare . gitserver:/scm/xx.git
  git clone --bare . ssh://gitserver/scm/xx.git

This does not have the expected result, and instead a local path of the 
given name is created (eg. a 'gitserver:' directory)

This seems to be a FAQ, but the only answer I can find (Google) is to 
login to the server and create the repo, setup a remote and push to it.
 
This is quite cumbersome; we have a large team of devs who use a simple 
'git clone' to an NFS directory, but we wish to retire NFS access.

Is there a technical limiation preventing clone-to-ssh, or just something 
waiting to be implemented?

(Please keep me CC'd; I am currently reading the web archives)

Many thanks

-- 
Mark

             reply	other threads:[~2012-09-03 11:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 10:21 Mark Hills [this message]
2012-09-03 11:26 ` Clone to an SSH destination Ævar Arnfjörð Bjarmason
2012-09-03 13:07   ` Mark Hills
2012-09-03 14:08     ` Konstantin Khomoutov
2012-09-03 14:26       ` Sitaram Chamarty
2012-09-03 14:27     ` Enrico Weigelt
2012-09-03 11:47 ` Konstantin Khomoutov
2012-09-03 12:54   ` Sitaram Chamarty
2012-09-03 13:15     ` Mark Hills
2012-09-03 13:48       ` Sitaram Chamarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.01.1209031059480.4753@sys880.ldn.framestore.com \
    --to=mark.hills@framestore.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox