Unable to integrate Github with Pycharm

ぐ巨炮叔叔 提交于 2020-01-14 17:12:12

问题


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

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

Although I am able to clone he same repository from command prompt using git clone command.


回答1:


I had the same issue.

Configure your proxy if using one: File->Settings->System Settings->HTTP Proxy

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.




回答2:


try to check whether you have given the path to Git executable correctly by testing it using test button next to it...(file>settings>version control>Git>path to Git Executable)

make sure you have given the git client path correctly.. C:\Program Files\Git\cmd\git.exe



来源:https://stackoverflow.com/questions/32597139/unable-to-integrate-github-with-pycharm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!