git clone through ssh

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

    For repositories on GitHub, try:

    git clone ssh://git@github.com//.git
    

    For setting up git to clone via ssh see:

    • Generating SSH Keys and add your generated key in Account Settings -> SSH Keys

    • Cloning with SSH

提交回复
热议问题