pycharm连接github后checkout 项目时报错:repository test faild could not read from remote repository 

还搜了好多篇博客,好像和我想得都不一样,我得问题有点low,不过可以总体总结一下。

pycharm中提示:repository test faild could not read from remote repository

可能解决方法一:在Settings->Version Control->Git中,将SSH executable设置为Native即可

pycharm中提示:repository test faild could not read from remote repository

可能解决方法二:“SSH executable” 设置了 Native 还是没用,

试试在生产公私密钥的时候不要输入密码,idea默认读取的是没有密码的密钥

可能解决方法三:最蠢得解决方法,也是是因为我蠢,用https的链接就可以了。

先去github里面Clone or download → User HTTPS → 复制

pycharm中提示:repository test faild could not read from remote repository

再checkout,就成功了。

pycharm中提示:repository test faild could not read from remote repository

 

使用git设置邮箱时报错:Bad escape character 'ygen'.

pycharm中提示:repository test faild could not read from remote repository

出现如上图的提示是因为语句错误了,是因为多了空格,正确语句如下:

$ ssh-keygen -t rsa -C"xxx@qq.com"

原因:ssh与-keygen之间出现了空格!

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2022-01-17
  • 2021-10-06
  • 2021-08-24
  • 2022-02-17
猜你喜欢
  • 2021-09-22
  • 2021-10-29
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案