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.
Thanks.
From stackoverflow
-
Use the --force option.
Example:
svn add * --force -
If the first column of the output from the svn status command is a question mark, then that file is not under version control. See this page on the svn status command for more information.
-
svn status | awk '/\?/ {print $2}' | xargs svn add
0 comments:
Post a Comment