代码拉取完成,页面将自动刷新
发现无法clone自己的代码仓库后,我重新生成了ssh公钥并上传,
配置后还是无法clone,使用ssh -T git@gitee.com
可以收到welcome信息,
对比从github上可以clone而言,看上去不是个人电脑的原因。
YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ ssh -T git@gitee.com
The authenticity of host 'gitee.com (116.211.167.14)' can't be established.
ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitee.com,116.211.167.14' (ECDSA) to the list of known hosts.
Welcome to Gitee.com, llcat!
YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ ssh -T git@github.com
The authenticity of host 'github.com (52.74.223.119)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known hosts.
Hi llcat! You've successfully authenticated, but GitHub does not provide shell access.
YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ git clone git@gitee.com:llcatty/WX_TP.git
Cloning into 'WX_TP'...
Command 'git upload-pack 'llcatty/WX_TP.git'' not Allowed !
exec request failed on channel 0
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ git clone git@github.com:llcat/WX_TP.git
Cloning into 'WX_TP'...
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (44/44), done.
Reremote: Total 66 (delta 7), reused 63 (delta 7), pack-reused 0
Receiving objects: 100% (66/66), 45.87 KiB | 32.00 KiB/s, done.
Resolving deltas: 100% (7/7), done.