git clone through ssh

后端 未结 10 2128
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-12 08:47

I have a project on which I created a git repository:

$ cd myproject  
$ git init  
$ git add .  
$ git commit  

I the wanted to create a b

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 08:56

    I did : git clone --bare "/GITREPOSITORIES/RepoA" "ssh://luc@EERSTENASDS119J/volume1/RepoA" Result : fatal: destination path 'ssh://luc@EERSTENASDS119J/volume1/RepoA' already exists and is not an empty directory.

    The system created a directory ssh://luc@EERSTENASDS119J/volume1/RepoA in my current path.

    So git clone did not interpret the URL specification. Used the workaround of Alec.

提交回复
热议问题