how to use svn
回滚
1 | svn merge -rhead:[old version] [file] |
合并分支
1 | svn --dry-run merge -r51744:head svn://svn1.idc.xiaozhu.com/xiaozhu/webV2/branches/dev/r_neworderv2-hanzhijie-2018-09-13 |
svn 根据提交人过滤 / sed 命令的使用
1 | svn log --limit 10 -v | sed -n '/username/,/-----$/ p' |
匹配文件后缀为 .jpg 的文件并且删除
1 | find ./ -name '*.jpg' | xargs rm |
grep and kill
1 | ps -ef|grep "zhaoyinfan/supervisor" | grep -v grep | awk '{print $1}' | xargs kill -9 |
svn 如何实现vimdiff
1 | vim ~/.subversion/config |
1 |
|