IntelliJ - How to exclude a file when updating project?

241 views Asked by At

I haven't yet found this functionality by looking in google or here, yet this seems to be a "huge" one:

In IntelliJ SVN is configured, I would like to update the project BUT I don't want to take everything... I can see this useful in a few cases: 1) I need to deploy a version by taking only a partial commit 2) sometimes personal settings are committed (and you don't always have resources to change bad habits/settings) 3) just plain unwanted files

The obvious workaround to the problem I'm facing with (3) is to update, then revert back the files I didn't want but that seems very tedious. I come from Eclipse where in the update view I had the opportunity to select the files I wanted to update which was really useful.

I tried to exclude files from versioning in intelliJ, but this seems to only affect the commit procedure.

Thanks!

1

There are 1 answers

4
vikingsteve On

Tell your developer friends NOT to commit personal settings.

In this situation I would usually: back up my own personal settings if needed, do a check out, delete the personal settings files and check in the "delete" to svn (thereby removing them).

Then, I would co-ordinate with other developers to add the appropriate svn:ignores in their local environments (e.g. *.iml, .idea, etc, etc).