Warm tip: This article is reproduced from serverfault.com, please click

Turn off Intellij auto adding to VCS/Git

发布于 2017-05-23 13:00:10

I've accidentally turned on automatic addition of new files into Git and clicked 'Remember my decision, don't ask again' (or whatever the option actually is) and now I'm unable to change the selection in Preferences |> Version Control |> Confirmation, those options are greyed out. Is there a way to disable this again?

Questioner
starscream_disco_party
Viewed
0
guilhebl 2017-08-13 13:38:00

On Ubuntu 16.04 - Go to:

File -> Settings -> Version Control -> Confirmation -> When Files are created

Here you can configure how IDEA behaves for when a file is added or deleted (and other scenarios), options: - silently adds file to Git or display popup with options or if it should do nothing

select option: "Do Not Add"