问题
When I run
svn st
on my working copy I get some "?" entries which are located in subdirectories of working copy root. I want to add all of them to the repository. I try:
svn add --force .
and
svn add --force *
but it doesn't work.
WORKING SOLUTION:
svn add --depth=infinity --force *
回答1:
Don't know if it work in windows, but you could try:
svn add --depth=infinity *
回答2:
Perhaps try:
svn status | grep '^\?' | sed -e 's/^? *\(.*\)/\1/;s/ /\\ /g' | xargs svn add
来源:https://stackoverflow.com/questions/4302888/how-to-use-svn-add-recursively-in-windows-console