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

    linux下删除所有.svn目录方法为
    find . -type d -name ".svn"|xargs rm -rf
    或者
    find . -type d -iname ".svn" -exec rm -rf {} ;

    删除
    svn delete file
    svn ci -mxxx

    1. 更新svn

    svn up, 运行该命令后的状态有:

    A Added
    D Deleted
    U Updated
    C Conflict
    G Merged

    如果出现C的话,一定要自己解决冲突,否则的话提交不了;

    手动解决掉冲突后,需要运行svn resolved命令,将冲突的

    版本文件删除掉。

    2. 第一次从svn server上下载source

    svn checkout svn://ipaddress/your_repo

    svn co svn://ipaddress/your_repo

    svn checkout http(s)://ipaddress/your_repo

    svn co http(s)://ipaddress/your_repo

    3. 给svn追加新的文件

    svn add yourfile

    svn add  --no-ignore  文件夹 对文件不进行忽略

    svn commit

    4. 从svn删除文件

    svn delete yourfile

    svn commit

    5. 本地文件的状态

    svn status, 运行该命令后的状态有:

    ' ' No modifications.
    'A' Item is scheduled for Addition.
    'D' Item is scheduled for Deletion.
    'M' Item has been modified.
    'R' Item has been replaced in your working copy. This means the file was scheduled for deletion, and then a new file with the same name was scheduled for addition in its place.
    'C' The contents (as opposed to the properties) of the item conflict with updates received from the repository.
    'X' Item is related to an externals definition.
    'I' Item is being ignored (e.g. with the svn:ignore property).
    '?' Item is not under version control.
    '!' Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).
    '~' Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.

  • 相关阅读:
    winform 利用属性在父、子窗体间传值
    .netweb页面间传值的整理
    微软原版sqlhelper
    oracle 实现 split 函数
    sql server通过exec sp_executesql @pagecountsql,N'@RecodeNum int output',@RecodeNum output 传参执行自定义@sql
    .net 对XML实例
    三级联动DropDownList
    Quickly and partly build&debug OOo on ubuntu
    反思
    完整的学习C++的读书路线图
  • 原文地址:https://www.cnblogs.com/zjgtan/p/3652127.html
Copyright © 2011-2022 走看看