Git how to clone with SSH key, username

前端 未结 4 1334
一整个雨季
一整个雨季 2021-02-07 05:20

I have the following and i need to clone the repository in either windows terminal command prompt or linux.

  • URL: git@xxxxx.com:xxx/xxx/git
4条回答
  •  Happy的楠姐
    2021-02-07 06:08

    To clone source code with Git using ssh, we can use http url with following format:

    http://usernameWITHOUTdomain:password@the_rest_httpURL

    ex: http://myname:password@192.110.110.10/projectname/project.git

提交回复
热议问题