Discuss / Git / 克隆仓库那步出问题了 怎么整啊?

克隆仓库那步出问题了 怎么整啊?

Topic source

做梦人er

#1 Created at ... [Delete] [Delete and Lock User]

Git

$ git clone git@github.com:***/gitskills.git

Cloning into 'gitskills'...

Connection reset by ***** port 22

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

这个怎么整???

花落蝶舞W

#2 Created at ... [Delete] [Delete and Lock User]

重新设置一下就好了

git config --global user.name "name"

git config --global user.email“email"

宇情n

#3 Created at ... [Delete] [Delete and Lock User]

重新设置用户名和邮箱还是不起作用啊

这个问题有解吗?

我也同步遇到,我要分别克隆github、gitlab、gitee.com

都报这个错,分明都设置过sshkey。

另外请问:

git config --global user.name "name"

git config --global user.email“email"

以上两个配置如何配置,当要与github.com进行代码克隆、拉、推时配置成什么?当要与gitee.com进行代码克隆、拉、推时配置成什么?当要与gitlab.contoso.com进行代码克隆、拉、推时配置成什么?

Skrill_

#5 Created at ... [Delete] [Delete and Lock User]

可以看下这个链接,需要在github添加你电脑的SSH Key。https://blog.csdn.net/iiiliuyang/article/details/104203197


  • 1

Reply