开发者

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?


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


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.

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

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


Simple Shortcut key does the work:

Select all the unversioned files that you wish to add in SVN and CTRL + ALT + A


You can check unversioned files under View -> Changes -> Unversioned files and add it manually to VCS (works for IntelliJ 13).


you can go to settings, ctrl+alt+s -> version control -> confirmation : change the options of "when files are created".

also if it doesn't solved the issue you can right click on your project in intellij, go to subvertion> edit properties. check if there is a property named "ignore" or "global-ignores" with "*" value, remove "*" in these properties.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜