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

好久不见. 提交于 2019-12-30 03:44:27

问题


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.




回答3:


Simple Shortcut key does the work:

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




回答4:


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



来源:https://stackoverflow.com/questions/2817452/add-a-new-file-in-intellij-doesnt-add-to-subversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!