Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add a new file in Intellij doesn't add to subversion

I'm not sure what I did to cause this, but adding a new file or package in IntelliJ now doesn't add them to subversion, and I have to add them manually via right-click -> subverion -> add.

Is there a setting that controls this behaviour?

like image 761
ripper234 Avatar asked May 12 '10 09:05

ripper234


People also ask

How do I add files to VCS?

Add files to VCSOpen the Commit tool window Alt+0 . Put any files in the Unversioned Files changelist under version control by pressing Ctrl+Alt+A or selecting Add to VCS from the context menu. You can either add the entire changelist, or select separate files.

How do I add files to IntelliJ project?

In the Project tool window ( Alt+1 ), right-click the node in which you want to create a new file and click New | File. Alternatively, select the node, press Alt+Insert , and click File. Name the new file and specify its extension, for example: File. js, and press Enter .

Do you want to add the file to Git IntelliJ?

Select the files you want to add to Git or the entire changelist and press Ctrl+Alt+A or choose Add to VCS from the context menu. You can also add files to your local Git repository from the Project tool window: select the files you want to add, and press Ctrl+Alt+A or choose Git | Add from the context menu.


1 Answers

Go to File -> Settings -> Version control -> Confirmation -> When files are created You're probably looking for "Add silently".

Note: In IntelliJ 6 or earlier versions this is done with File -> Settings -> Version control -> General Settings -> Add silently

like image 73
Bozhidar Batsov Avatar answered Oct 04 '22 21:10

Bozhidar Batsov