当前位置:   article > 正文

git提交失败报错 fatal: unable to access ‘https://gitee.com/xxxx.git/‘: Could not resolve host: gitee.com_gitee fatal: unable to access

gitee fatal: unable to access

解决方法:把https模式换成ssh模式
1.第一步:用git remote -v查看使用的是https还是ssh

git remote -v
  • 1

2.第二步:使用git remote set-url命令将远程URL从HTTPS更改为SSH

git remote set-url origin git@gitee.com:xxxx/xxxxx.git
  • 1

Android studio中无法显示Git插件
1.检查是否安装git插件
2.重启Android studio,点击file -> lnvalidate caches
3.配置git环境
4.右键点击根目录,Git -> +add

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号