Git development
 help / color / mirror / Atom feed
* Clone to an SSH destination
@ 2012-09-03 10:21 Mark Hills
  2012-09-03 11:26 ` Ævar Arnfjörð Bjarmason
  2012-09-03 11:47 ` Konstantin Khomoutov
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Hills @ 2012-09-03 10:21 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-09-03 14:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 10:21 Clone to an SSH destination Mark Hills
2012-09-03 11:26 ` Æ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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox