git clone through ssh

后端 未结 10 2115
爱一瞬间的悲伤
爱一瞬间的悲伤 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

    Disclaimer: This is just a copy of a comment by bobbaluba made more visible for future visitors. It helped me more than any other answer.


    You have to drop the ssh:// prefix when using git clone as an example

    git clone git@github.com:owner/repo.git
    

提交回复
热议问题