上传指定后缀名文件
svn st | grep swift | cut -d' ' -f8- > targets.txt
svn ci -m "comments" --targets targets.txt
上传新增和修改文件
svn st | grep ^[A\|M] | cut -d' ' -f8- > targets.txt
svn ci -m "comments" --targets targets.txt
svn st | grep swift | cut -d' ' -f8- > targets.txt
svn ci -m "comments" --targets targets.txt
svn st | grep ^[A\|M] | cut -d' ' -f8- > targets.txt
svn ci -m "comments" --targets targets.txt
转载于:https://www.cnblogs.com/ilovewindy/p/4602065.html