无法将Github与Pycharm整合 [英] Unable to integrate Github with Pycharm
问题描述
我在Github上创建了一个仓库。我正在使用Windows 7 64位和Pycharm社区版。我想将Github存储库与pycharm集成,但我收到错误
I have created a repository on Github. I am using Windows 7 64 bit and Pycharm Community edition. I want to integrate the Github repository with pycharm but I am getting the error
无法获取GitHub存储库列表
连接到api.github.com:443 [api.github.com/192.30.252.127]失败:连接超时
Couldn't get the list of GitHub repositories Connect to api.github.com:443 [api.github.com/192.30.252.127] failed: connect timed out
虽然我我可以使用git clone命令从命令提示符克隆他的同一个存储库。
Although I am able to clone he same repository from command prompt using git clone command.
推荐答案
我有同样的问题。
配置您的代理如果使用一个:
文件 - >设置 - >系统设置 - > HTTP代理
Configure your proxy if using one: File->Settings->System Settings->HTTP Proxy
另一个要尝试的是在本地克隆项目,然后在Pycharm中添加为新项目。之后,我可以在VCS-> git下执行所有git操作,包括为我的项目添加/提交/推送。
Another thing to try is to clone the project locally then add as new project in Pycharm. Afterwards I was able to do all git operations under VCS->git including add/commit/push for my project.
这篇关于无法将Github与Pycharm整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!