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

2022-09-01 08:09:12

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?


答案 1

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


答案 2

If you've come here and the solution by Bozhidar Batsov doesn't solve the issue you may need to change the svn:global-ingnores in SVN Properties for the project.

Right click on the project go to Subversion | Set Property.... In the drop down select svn:global-ingores. Remove * from the list and hit OK.

SVN Properties: Set Property

SVN Properties: Property Element to Delete


推荐