Over a million developers have joined DZone.

Exclude Certain Files From An SVN Commit


svn st | grep M | egrep -v routes | awk -F' ' '{ print $2}' | xargs svn ci -m "blah"

# where egrep -v routes is replaced with all the crap you don't wanna commit

ie - egrep -v routes | egrep -v this | egrep -v that

# I can write a script that takes those expressions as command-line options to make it easier if you're interested.. or we can write it together.. we can do it in ruby!

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}