svn

svn命令行add和delete

"设置所有要被设置的文件"

Posted by Jht on August 16, 2016

add

windowslinux通用

svn add * --force

delete

windows

svn status | findstr /R "^!" > missing.list
for /F "tokens=* delims=! " %%A in (missing.list) do (svn delete "%%A")
del missing.list 2>NUL

###linux

svn st | grep ^! | awk '{print " --force "$2}' | xargs svn rm