svn常用命令行命令

1.创建分支

svn cp --parents http://svn.d.xiaonei.com/frontend/xn.static/wap/wechatLive/app/trunk http://svn.d.xiaonei.com/frontend/xn.static/wap/wechatLive/app/branches/0306/freebox -m '免费宝箱'

--parents 当文件夹没有时自动创建文件夹

 

2.合并分支

当开发完之后,可以合并到trunk上。

进入trunk目录下然后执行以下命令

svn merge http://svn.d.xiaonei.com/frontend/xn.static/wap/wechatLive/app/branches/0306/freebox

posted @ 2017-03-06 15:54  cococe  阅读(135)  评论(0编辑  收藏  举报