Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IDEA: How to import module from git?

Using IntelliJ idea, is it possible to import an new Module from GIT, similar to how Eclipse's eGit plugin does it?

Please provide a screenshot.

like image 446
James Raitsev Avatar asked Oct 21 '12 04:10

James Raitsev


People also ask

How do I import a Git module into IntelliJ?

Associate the entire project with a single Git repository Alternatively, from the main menu, select VCS | Enable Version Control Integration. Choose Git as the version control system and click OK. After VCS integration is enabled, IntelliJ IDEA will ask you whether you want to share project settings files via VCS.

How do I import a project into IntelliJ?

Launch IntelliJ IDEA. If the Welcome screen opens, press Ctrl+Shift+A , type project from existing sources , and click the Import project from existing sources action in the popup. Otherwise, from the main menu, select File | New | Project from Existing Sources.

How do I get Git in IntelliJ?

One way to open the Git tool window is to hover over the quick access button in the bottom left of the IntelliJ IDEA window, and select Git. This will open the Git Log tool window. Alternatively, you can use ⌘9 (macOS), or Alt+9 (Windows/Linux), to open the Git Log tool window.


1 Answers

It's done in two steps:

  1. VCS | Checkout from Version Control, select Git or GitHub.
  2. File | Add Module, Create module from existing sources or Import existing module if there is already .iml file in the cloned repository.
like image 107
CrazyCoder Avatar answered Oct 22 '22 05:10

CrazyCoder