
In the Add VCS Directory Mapping dialog that opens, select the Directory option. The Directory Mappings page shows a list of project directories and version control systems associated with them (if no directories have been added, the list only contains the project root). Press Ctrl+Alt+S to open the IDE settings and select Version Control | Directory Mappings. IntelliJ IDEA supports a directory-based versioning model, which means that each project directory can be associated with a different version control system.

Note, that this only applicable to Git and Mercurial.Īssociate a directory with a version control system You can choose Always Add to synchronize project settings with other repository users who work with IntelliJ IDEA. In the Enable Version Control Integration dialog that opens, select a version control system from the list that you want to associate with your project root.Īfter VCS integration is enabled, IntelliJ IDEA will ask you whether you want to share project settings files via VCS. Press Alt+` to open the VCS Operations Popup and select Enable Version Control Integration.Īlternatively, from the main menu, select VCS | Enable Version Control Integration.
INTELLIJ ALWAYS SHOW GIT ANNOTATE HOW TO
For instructions on how to associate separate project directories with different version control systems, refer to Associate a directory with a version control system. IntelliJ IDEA allows you to quickly enable your project's integration with a version control system, and associate it with the project root. IntelliJ IDEA supports version control integration at two levels:Īt the IDE level, VCS integration is provided through a set of bundled plugins enabled by default.Īt the project level, VCS integration is enabled by associating project folders with one or several version control systems.Īssociate a project root with a version control system
