1.取代码
svn checkout/co https://projectn/svn/trunk/ projectname --username username@gmail.com
svn update/up -rXXXX
svn update/up .
2.提交代码
svn commit -m "added howto section."
svn commit -F msg.txt .
3.撤销提交
svn merge -c -1944 .
svn revert filename
4.查看
svn log -r 236144 -v
svn log -r {2016-05-03}:{2016-05-04} | sed -n '1p; 2,/^-/d; /huiluo/,/^-/p'
svn log --verbose --search huiluo --revision {2016-05-01}:{2016-05-05}
svn log --search juchen3 -l 500 https://wwwin-svn-gpk.cisco.com/jabber-all/jabber/trunk
svn log --limits 10 # The latest 10 revisions
svn log -l 10 # The latest 10 revisions
svn status | findstr "^M" # Find modified files on windows
svn status | grep ^M
5.添加删除移动
svn add thegeekstuff
svn delete thegeekstuff
svn move src dest
6.合并
svn merge -c svn merge -c 254669 https://wwwin-svn-gpk.cisco.com/jabber-all/jabber/trunk
参考