这个问题发送在突然的某一天,我使用git push上传不了自己的代码到仓库了如下图所示:

这里用如下的方式解决这个问题:

ssh-kyegen -t rsa -C "GitHub的用户名"
#当出现OverWrite的时候,输入y
#随后一直回车即可
git remote add origin https://github.com/在GitHub上找

如果出现fatal: remote origin already exits.

就使用

git remote rm origin

然后再重复上面的

git remote add origin https://github.com/在GitHub上找

然后就可以了,照着以前的思路来:

git add .
git commit -m "XXXXXX"
git push -u origin master

即可

Git笔记-Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository.相关推荐

  1. git报错Connection reset by 140.82.113.4 port 22

     git报错如下: Connection reset by 140.82.113.4 port 22 fatal: Could not read from remote repository. Ple ...

  2. Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known host

    前言 最近在学习GIt,安装了Git bash,过程中遇到了各种问题,写下帖子,方便大家解决问题,也方便自己回顾 问题描述 Warning: Permanently added the RSA hos ...

  3. Git 报错:Connection closed by remote host. fatal: Could not read from remote repository.

    Git deploy 部署报错:ssh_exchange_identification: Connection closed by remote host. fatal: Could not read ...

  4. git@github.com:Permission denied(publickey).fatal: Could not read form remote repository错误

    文章目录 前言 问题分析 解决方法 配置客户端 配置服务端 验证 前言 在使用goland从github下载依赖时(git clone github.com/gin-gonic/gin)出现git@g ...

  5. git解决 “fatal: Could not read from remote repository.“

    问题描述: 在使用Git将本地仓库推送到远程仓库的时候,发生了如下错误:"fatal: Could not read from remote repository." 问题原因: ...

  6. gitHub报错之git@github.com: Permission denied (publickey). fatal: Could not read from remote repository

    前言 当我们在新的电脑环境,本地上传到自己的github储存仓库就会出现时密钥不匹配,被拒绝上传. 第一句 git@github.com: Permission denied (publickey). ...

  7. 解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas

    今天用idea提交代码到github上,push后报错 git@github.com: Permission denied (publickey). fatal: Could not read fro ...

  8. git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...

    原文:git clone报错:Permission denied (publickey). fatal: Could not read from remote repository- 今天clone一 ...

  9. fatal: ‘origin‘ does not appear to be a git repository fatal: Could not read from remote repository.

    fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. ...

最新文章

  1. 科学家利用脑机接口让患者正常发声
  2. LiveVideoStackCon2019北京 八月再聚
  3. matlab 数字调制函数,matlab用于数字调制,几个函数的使用问题
  4. WebStorm安装Vim以及快捷键设置
  5. 实用干货!大数据入门的常用技术栈全在这里了
  6. 关于正则表达式的补充(贪婪和懒惰)
  7. 使用google的zxing制作二维码
  8. 制造业数字化转型内涵和过程
  9. k8s master节点状态为 NotReady问题解决
  10. 支付宝崩了,七夕红包发得太多?
  11. R语言:从 csv 文件中读取数据,然后将数据写入 csv 文件
  12. 华为p8青春版(ALE-UL00)刷机教程
  13. latex(2):公式插入
  14. 【Linux 性能优化系列】Linux 性能优化 -- CPU 性能篇(三) Linux 软中断
  15. 计算机网络流量监控设计方案,计算机网络流量监控的设计.pdf
  16. 虚拟化操作系统ESXi 6.7安装配置详细步骤
  17. 国家推行电子货币见解
  18. 不能bostype没有元数据异常_金蝶EAS_BOS工作笔记
  19. html百度地图取电,盯盯拍支持高德地图AR导航,升级智慧出行新体验
  20. 下载好python后,怎么打开,python怎么进入编程界面

热门文章

  1. liunx基本命令(文件系统的使用和查找命令)
  2. QT3与QT4中uic的使用差异---李家凯老师
  3. NYOJ47过河问题
  4. 强制将IE,Chrome设置为指定兼容模式来解析
  5. 大学专业:这4个计算机类专业很受欢迎,毕业后薪资待遇高?
  6. Python入门学习指南--内附学习框架
  7. 现在写程序要像蚊子一样WZ132
  8. 斯坦福大学机器学习公开课视频及课件
  9. 【深度学习】empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=None
  10. visual studio2017调用SDK各个操作步骤的作用