基本命令
- 查看版本状态:
svn info
- 查看状态:
svn status
- 查看不同:
svn diff
- 比较两个版本差异:
svn diff -rA:B
- 提交代码:
svn ci -m "msg"
- 查看commit列表:
svn log --limit 20
- 重置改动:
svn revert xx
- 复制目录到新目录:
svn copy dir new_dir
- 删除目录:
svn delete dir
- 修改冲突后:
svn resolve –-accept working file.edit
- 回退到某个版本:
svn merge -r 1044:931 ""
- 修改svn仓库url:
svn switch --relocate (Old Repository Root) (New Repository Root)
,svn sw --relocate https://repo.elastos.org/svn/Elastos.ORG https://repo.elastos.io/svn/Elastos.ORG