Matt Coneybeare

MC

How to Ignore Files in SVN

| Comments

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:
1
2
3
*.class
*.tmp
*.log
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.

Comments

My name is Matt Coneybeare, I design and develop for iOS (iPhone, iPad and iPod Touch), Mac OS X and the Web out of New York. In 2008 I started a software company called Urban Apps that has made some pretty popular apps such as Ambiance and Hourly News. My current Stack Overflow reputation is about 27k.

I was a Rockstar a decade ago, but then went back to school and collected a Bachelor's Degree in Computer Science from U.C. Berkeley. Now I am settled down with my beautiful wife Di and our two doggies Hamachi and Foxy. While coding, I walk several miles/day on my Treadmill Desk. When not at my desk, I love exploring New York City as a Yelp Elite, or training for marathons.

Contact information

Name
Matt Coneybeare
Email
Website
Twitter
Instagram
GitHub
LinkedIn
Google+