珠穆郎码疯@ 2019-06-19 09:45 采纳率: 0%
浏览 829

各位大佬,帮忙解决一下这是咋回事?git推送不了

```git.exe push --progress "origin" master:master

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

```git 未能顺利结束 (退出码 128) (109 ms @ 2019/6/19 9:42:40)

  • 写回答

2条回答 默认 最新

  • 叫兽-郭老师 新星创作者: Java技术领域 2019-06-19 09:55
    关注

    fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.

    出现这个问题是因为没有在github账号添加SSH key

    解决方法如下:
    1.在终端输入。

    ssh-keygen -t rsa -C "username" (注:username为你git上的用户名)
    链接:https://blog.csdn.net/u014343528/article/details/48787221

    评论

报告相同问题?