Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA - import project into subversion -choose what to import

How to choose which folders and files from the project to import into Subversion? When I do CVS - Import into version control - Import into Subversion, it simply imports the whole chosen folder. What if I don't want to import .idea folder and project-name.iml file for example? Is there a way to choose what to import?

like image 804
another-programmer Avatar asked Oct 26 '15 03:10

another-programmer


2 Answers

Finally I found the solution. I should've just do "Share directory" on project folder. And then I was able to select, what files/directories to ignore and what to commit.

like image 185
another-programmer Avatar answered Nov 14 '22 10:11

another-programmer


To assign a version control system to the project root:

VCS -> Enable Version Control Integration or press Alt+Back Quote, and select Enable Version Control Integration....

In the Enable Version Control Integration dialog box that opens, select a version control system from the drop-down list that you want to associate with your project root.

From There your project will be associated with the version control system you want to use. You can the right click on the directories you do want to include in VCS and navigate to the Version control system. And then Add to VCS.

For example: Subversion -> Add to VCS or Ctrl + ALT + A

like image 43
penguin Avatar answered Nov 14 '22 10:11

penguin