Disable automatic project creation on git clone (Get from version control)

Answered

Since the 2020 update, IntelliJ IDEA automatically creates projects and opens a seperate IntelliJ instance on cloning from gitlal (VCS -> Get from version control...).

In older versions a dialog appeared beforehand where you could choose to do this or not.

I couldn't find any posibility to disable this behaviour and I also couldn't find this topic in the forum.

 

Kind regards

0
6 comments

Could you please clarify, why do you need to clone something, but not open it?

What is the workflow?

0
Avatar
Permanently deleted user

I'm working with plugin based applications where every plugin is it's own gitlab project.

My workspace in IntelliJ looks similar to this:

 

So I'm working with a single IntelliJ instance, where I have several applications.

Each application contains several plugins which are seperate gitlab projects.

So if I clone a new plugin within an application, I just want the plugin to be added without makeing a IntelliJ project out of it and without opening a new instance.

(Hope the explanation is clear.)

0

Thanks for the clarification. It seems that ability to create a module from the cloned code would be a solution here.

https://youtrack.jetbrains.com/issue/IDEA-63087

The previous behavior (with a dialog upon cloning) is not available anymore. As a workaround, you could clone via the built-in terminal.

0
Avatar
Permanently deleted user

Thanks for the info.

I'll use the terminal for now.

0

Dmitriy Smirnov , I believe the question is quite straightforward and unrelated to the proposed solutions. The issue is that IntelliJ automatically opens a new project after a clone operation. How can this behavior be disabled?

0

Hi

This cannot be disabled. 

Please feel free to open a Feature request on our YouTrack. 

0

Please sign in to leave a comment.