git with IntelliJ IDEA: Could not read from remote repository

前端 未结 30 2247
夕颜
夕颜 2020-12-07 08:11

Since a few weeks, I\'m not able to pull or push from or to the remote repository. I thought it happend when upgrading to IntelliJ IDEA 14, but I can reproduce the problem w

30条回答
  •  情话喂你
    2020-12-07 08:44

    I tried all solutions above (Native, changing url of VCS repository, updating Git, updating IDEA, invalidating Caches), but nothing helped me. Finally I found solution that works for me.

    SOLUTION: I closed Idea and replaced content of file ~\.IntelliJIdea20xx.x\config\options\git.xml with this:

    
      
        
    
    

    Then I started IDEA, try to checkout SSH GIT repository and it works and existing projects works as well. Interesting fact is that when I switch to NATIVE in Idea Settings, repository not working.

提交回复
热议问题