zoukankan      html  css  js  c++  java
  • SVN 使用

    svn --version
     
    svn list
     
     
     
    下载代码:
    svn checkout http://svn.server.com/svn/project_repo [--username=tom]
     
    新建分支:
    方法1:
    svn copy trunk branchs/new_branch_name
    svn commit -m "commit info"
    方法2:
    svn cp -m "create branch" http://svn_server/xxx_repository/trunk http://svn_server/xxx_repository/branches/br_feature001 
     
    删除分支:
    方法1:
    svn rm branchs/branch_name
    svn commit -m "commit info"
    方法2:
    svn rm http://svn_server/xxx_repository/branches/br_feature001

    分支信息:
    svn info
     
    分支切换:
    svn switch branch_name  (变更branch并且把当前修改合并到新branch)
     
    分支状态:
    svn status
     
    更新分支:
    svn update [filename]
     
    变更信息:
    svn diff
     
    提交的过程:
    svn add filename
    svn commit -m "commit info"
     
    撤销修改:
    svn revert filename
     
     
    历史信息:
    svn log
     
    解决冲突之后告知svn:
     
    svn resolve --accept=working filename
     
    分支合并:
    切换到trunk branch
    svn merge 分支branch
     
    参考:
    http://blog.csdn.net/maomaoduoer/article/details/12781547
    http://wiki.jikexueyuan.com/project/svn/environment-setup.html
     
  • 相关阅读:
    iview表单验证 只能输入小数或者整数
    iView之Modal(一级弹窗和二级弹窗)
    Vue+iView 引入iconfont
    iView爬坑记——表单验证
    有关使用 iview 表单验证的问题
    数据结构
    数学
    Zookeeper
    maven 打包
    区块链
  • 原文地址:https://www.cnblogs.com/AndyStudy/p/8797873.html
Copyright © 2011-2022 走看看