Ignoring certain file types on SVN commit

>> Wednesday, August 10, 2011

I've been using SVN as my main source control and was annoyed that on every commit I had to uncheck a few files that were created locally and shouldn't be part of the repository.

Files like roo.log and a bunch of *.externalToolBuilder files. How to exclude those every time from the check in process?

Fortunately you can exclude certain file types when you are commiting.

First, you can check what is currently being omitted by typing:

svn propget svn:ignore

You will probably see .project, .setting, etc. svn does exclude some by default, but now type:

svn propedit svn:ignore .

If it complains about not having an editor, simply create an environmental variable to store the following:


Now type the propedit command and add whatever additional filters you want!


  © Blogger templates Sunset by Ourblogtemplates.com 2008

Back to TOP