Adding GIT support to existing project in IntelliJ IDEA

前端 未结 7 1987
一生所求
一生所求 2020-12-29 03:00

I have multi-module project built with Maven. I imported only single sub-module (not parent) from that project as IDEA project, and looks like IDE doesn\'t recognize .git fo

7条回答
  •  我在风中等你
    2020-12-29 03:37

    In my case, we had recently upgraded from CVS to GIT (gasp). There were some old CVS specific files in the project (i.e. .cvsignore) that must have indicated to IntelliJ that this was a CVS project. I had to manually remove this file for IntelliJ to recognize the new .git folder and related files.

提交回复
热议问题