You've successfully authenticated, but GITEE...

问题:

You've successfully authenticated, but GITEE.COM does not provide shell access.

我尝试了可以找到的解决方法,现总结如下:
方法一:git pull origin master --allow-unrelated-histories
这种解决方法爆出了新问题:fatal: not a git repository (or any of the parent directories): .git
方法二是在方法一的基础上,有人建议在输入:git push
此时还是没能解决我的问题

C:\Windows\system32>git pull origin master --allow-unrelated-histories
fatal: not a git repository (or any of the parent directories): .git

C:\Windows\system32>git push
fatal: not a git repository (or any of the parent directories): .git

C:\Windows\system32>ssh -T git@gitee.com
Hi [36;01msunlight[0m! You've [32msuccessfully[0m authenticated, but GITEE.COM does not provide shell access.

img

把这个目录的文件都删了,然后重新生成秘钥

你成功登录了。但是gitee不支持shell

用git自带的窗口执行命令

解决了吗博主,我也遇到这样的问题,我是git clone就会有这个提示