Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recursively adding files to a Subversion repository

Tags:

svn

Is there a way to recursively add all "non added" files to SVN?

I want to do something like

svn add trunk/

to add all new files, without getting:

svn: warning: 'trunk' is already under version control

If this is not possible, is there a way to get a list of all files that are not under version control in the directory?

Note that I am only interested in using the command line.

like image 842
mmattax Avatar asked Nov 14 '08 23:11

mmattax


1 Answers

Use the --force option.

Example:

svn add * --force
like image 64
Jonas Kongslund Avatar answered Sep 28 '22 16:09

Jonas Kongslund