无法使用 Intellij Idea 从 github 提取更改

Unable to pull change from github with Intellij Idea

我想使用 intellij Idea 提取一个朋友一周前刚刚在 github 上推送的更新。我在我的电脑上打开项目,在正确的分支上结帐,转到 VCS ->git -> pull,选择正确的分支,但没有附加任何内容。

因此,我决定继续使用 github,以验证这些更改是否已应用于存储库,是的,存储库在 github 中是最新的,但我无法拉动变化。

我也尝试克隆项目并在 Intellij Idea 上重新创建一个新项目,但它没有做任何更改...

有人可以解释我如何解决我的问题,并获得对项目所做的所有更改吗?

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

为了避免这种情况,最简单的解决方法是:

  • git clone GitHub 存储库在另一个文件夹中
  • 使用 IntelliJ IDEA 打开该文件夹:它将识别该项目(以及远程 Git 存储库)

OP JerDum adds :

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