Git问题档案
从今天开始,我正式开始将我在使用git过程中遇到的问题记录到这个文章中。
-
kex_exchange_identification: Connection closed by remote host. fatal: Could not read from remote repository.
这是当我在一个新的本地文件夹中clone别人的项目时git bash报告的。
做法:因为我以前有配置过git的相关配置了,我在该文件夹目录下输入:ssh -T git@github.com。
然后git报告:Hi linyn-zero! You've successfully authenticated, but GitHub does not provide shell access.
问题解决了,可以clone了!
$ git push
ERROR: Permission to xxxxx.git denied to linyn-zero.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.```
在尝试clone远程GitHub仓库时遇到Permissiondenied错误,通过运行ssh-Tgit@github.com验证身份后,成功克隆但推送时仍遇到权限问题。解决方案是确保具有正确的访问权限并检查仓库是否存在。
15万+

被折叠的 条评论
为什么被折叠?



