Git how to clone with SSH key, username

前端 未结 4 1218
一整个雨季
一整个雨季 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条回答
  •  渐次进展
    2021-02-07 06:04

    test ssh with GitHub to get actionable feedback.

    in the command line run ssh -T git@github.com
    (see https://help.github.com/articles/testing-your-ssh-connection/)


    if that works, bother with git next. but likely there will, be your issue.

    to clone, THEN use git clone git@github.com:$USERNAME/$REPONAME.git

提交回复
热议问题