R – How to tell SVN to ignore files for all team members

svntortoisesvn

I have various files that I want to be ignored by SVN when committing. I know that I can go into TortoiseSVN and ignore them in various ways. I know that I can run svn propedit svn:ignore from the command line to do the same thing.

The problem is that I have to have everyone on my team to do that, which is a pain. Is there a way that I can put some file in a folder or set something in my SVN repository that tells it to never check a certain file in?

Best Answer

Once you have setup your svn:ignore properties (either using TortoiseSVN or the commandline), you should commit these changes.

As soon as your team-members update their working copies, they will also have the svn:ignore properties set, and the files/folders listed in the properties will be excluded from commits.

See this page for details: TortoiseSVN - Ignoring Files And Directories

Note:

If you have already commited some file which should be ignored, then you first have to delete them from the repository before you can ignore them (see rmeador's comment)