简体   繁体   中英

Unable to pull change from github with Intellij Idea

I would like to pull updates that a friends just pushed a week ago on github with intellij Idea. I open the project on my computer, checkout on the correct branch , went to VCS ->git -> pull , choose the correct branch , but nothing appended.

Thus, I decided to go on github, to verify if those changes where applied on the repository, and yes, the repository is up to date in github but i'm not able to pull changes.

I also tried to clone the project and recreate a new project on Intellij Idea but it make no changes...

Could somebody explain me how can i fix my problem, and get all changes made to the project ?

does it mean that I am trying to pull something from a random repository ?

In order to avoid that, the easiest workaround is to:

  • git clone the GitHub repo in another folder
  • open that folder with IntelliJ IDEA: it will recognize the project (and the remote Git repo)

The OP JerDum adds in the comments :

Some additionnal informations where stocked in the .gitconfig , and these informations interfered with Intellij Idea, and with Git, in the terminal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM