How to Ignore Files in SVN

less than 1 minute read

One of the most annoying things when working with version control is trying to filter through a list of .tmp, .log, or .class files that you don't want to commit to the project. Good news is that it is really easy to tell svn to ignore these files:

svn propedit svv:ignore ./some_path
After this command, a vi window will pop up and you just press "i" to trigger text insert mode, then type anything you want to omit:
To save, press escape to exit inert mode, type ":wq" and press enter. Then, back at the command prompt, just do a "svn st" to see your changes.