Git and IntelliJ IDEA: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


The contents of the .idea directory can be generally shared, with the exceptions mentioned below.
The contents of the .idea directory can be generally shared, with the exceptions mentioned below.
=What to Share=


=What Shouldn't Share=
=What Shouldn't Share=

Revision as of 17:56, 10 May 2018

External

Internal

Overview

The contents of the .idea directory can be generally shared, with the exceptions mentioned below.

What Shouldn't Share

What Not to Share

User-specific settings:

.idea/**/workspace.xml
.idea/**/tasks.xml

User dictionaries should not be shared, because they may conflict with other users'.

.idea/**/dictionaries

In IDEA 13 or earlier, don't share datasources.xml because they contain user passwords.

Suggested .gitignore

.idea/**/dictionaries