Push failed. Failed with error: fatal: Could not read from remote repository.
来源:互联网 发布:淘宝店铺没有自然搜索 编辑:程序博客网 时间:2024/05/23 01:14
在往github 仓库提交的时候出现以下错误。
Failed with error: fatal: Could not read from remote repository.
此原因是因为ssh公钥有问题,因为之前电脑是以前的同事用着,我直接就改为自己的账号了,导致ssh不一致,
查看本地的ssh ,
cat ~/.ssh/id_rsa.pub
然后就会出来 ssh-rsa ,最后是邮箱地址,
你可以找到自己的.ssh存放的位置把他删掉
我的路径是在C:\Users\NAME\.ssh
然后重新生成ssh
然后重新创建ssh,ssh-keygen -t rsa -C "邮箱",一直确定,不需要密码
直到完成
最后进入自己的github账号,头像——setting ——ssh
进去把之前的ssh换成你自己的就好了
阅读全文
0 0
- Push failed: Failed with error: fatal: Could not read from remote repository.
- Push failed. Failed with error: fatal: Could not read from remote repository.
- Push failed: Failed with error: fatal: Could not read from remote repository.
- IDEA Push Failed with error: fatal: Could not read from remote repository
- fatal: Authentication failed could not read from remote repository
- Android Studio 2.1 Beta Fetch failed fatal: Could not read from remote repository
- clone failed. Could not read from remote repository".
- Git Pull Failed: Could not read from remote repository
- fatal: Could not read from remote repository
- Permission denied (publickey) fatal:Could not read from remote repository
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository.
- Permission denied (publickey).fatal: Could not read from remote repository.
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository
- fatal: Could not read from remote repository.的解决办法
- seo网站整体关键词的布局
- android:详细解读DialogFragment
- Ubuntu 16.04扩展swap分区
- AlertDialogDemo
- 进制之间的转换
- Push failed. Failed with error: fatal: Could not read from remote repository.
- 聚类算法
- docker lxc cgroup namespace入门
- java 创建线程的三种方法Callable,Runnable,Thread比较及用法
- android刮刮卡效果
- 对中级 Linux 用户非常有用的 20 个命令
- 依赖和本项目的recyclerView的版本不同解决办法
- 前端打印控件lodop的相关使用问题和相关的知识领域
- 反转二叉树