website stat

Add all new files to a svn repository

For all of you, dear SVN users (including me), here’s a nice tip that I found here on how to recursively add all the new files to the repository.

svn add --force *

Force shouldn’t be needed due to the default recursive behaviour of svn add, IMHO.

Here’s the 1337 way:

svn st --ignore-externals | grep ^? | sed 's/\?/svn add/' | sh


No Responses to “Add all new files to a svn repository”

Comments are closed.