简体   繁体   English

推送失败:无法访问“ https://github.com/abc/xyz.git/”:无法解析主机:github.com

[英]Push failed: unable to access 'https://github.com/abc/xyz.git/': Could not resolve host: github.com

I'm using github private repository. 我正在使用github私有存储库。

Yesterday, I cloned the project on my laptop. 昨天,我在笔记本电脑上克隆了该项目。 After that I'm unable to push commit from my desktop. 之后,我将无法从桌面推送提交。

I'm getting this error: 我收到此错误:

Push failed: unable to access 'https://github.com/abc/xyz.git/': Could not resolve host: github.com

I tested from Settings > Version Control > Github > Test, it shows everything is okay. 我从“设置”>“版本控制”>“ Github”>“测试”进行了测试,它显示一切正常。

Please help me to fix this issue. 请帮助我解决此问题。

There are lots of articles about this issue. 关于此问题的文章很多。 I checked out, none of them worked. 我检查了一下,他们都没有。

Problem was with Android Studio 3.2 问题出在Android Studio 3.2上

I downgraded to 3.1 and everything is fine now. 我降级到3.1,现在一切都很好。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Git Push失败:致命:无法访问与github.com有关的未知SSL协议错误:-9805 - Git Push failed: fatal: unable to access Unknown SSL protocol error in connection to github.com:-9805 无法访问“https://github.com/user name/projectName.git/”:SSL 证书问题:证书链中的自签名证书 - unable to access 'https://github.com/user name/projectName.git/': SSL certificate problem: self signed certificate in certificate chain Android:无法将https://github.com/wealdtech/hawk作为模块添加 - Android: Cannot include https://github.com/wealdtech/hawk as a module 尝试构建FBReaderJ时出现BUILD FAILED错误(https://github.com/geometer/FBReaderJ) - BUILD FAILED error while trying to build FBReaderJ(https://github.com/geometer/FBReaderJ) 使用git bash下载lexandera / Aardwolf.git(Windows); 致命错误-无法连接到github.com - downloading lexandera/Aardwolf.git using git bash (Windows); fatal error - unable to connec to github.com 当我从 github https://github.com/smarteist/android-image-slider 使用这个库时,无法解析符号“动画” - cannot resolve symbol 'Animations' when i use this library from github https://github.com/smarteist/android-image-slider 在github.com/ntoskrnl/DataSync中找不到SyncDatabaseHelper - SyncDatabaseHelper not found with github.com/ntoskrnl/DataSync 无法加载 github.com 的信息 - Can't load information for github.com Ionic-错误:无法通过注册表获取插件cordova-plugin-statusbar @ https://github.com/apache/cordova-plugin-statusbar.git - Ionic - Error: Failed to fetch plugin cordova-plugin-statusbar@https://github.com/apache/cordova-plugin-statusbar.git via registry 使用Git REPO实现Android EventSource https://github.com/streamdataio/eventsource-android/ private onConnect错误 - Implementation of Android EventSource Using Git REPO https://github.com/streamdataio/eventsource-android/ private onConnect Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM