svn 일련의 조작 명령 을 모두 해제 합 니 다.

3540 단어 SVN
질문: svn 사용 미숙!
해결 방안: http://www.itlearner.com/article/4450
편 의 를 위해 나 는 작가 의 원문 을 복사 해 왔 다.
   1、   checkout     
svn checkout path(path        )
  :svn checkout svn://192.168.1.1/pro/domain
  :svn co
       2、           
svn add file
  :svn addtest.php(  test.php)
svn add *.php(          php  )
        3、            
svn commit -m “LogMessage“ [-N] [--no-unlock] PATH(        ,   –no-unlock  )
  :svn commit -m “add test file for my test“ test.php
  :svn ci
        4、  /  
svn lock -m “LockMessage“ [--force] PATH
  :svn lock -m “lock test file“ test.php
svn unlock PATH
        5、       
svn update -r m path
  :
svn update        ,                          。
svn update -r 200 test.php(        test.php     200)
svn update test.php(  ,      。              ,     ,   update,    ,    svn resolved,     commit)
  :svn up
        6、          
1)svn status path(             ,       )
【?:  svn    ;M:     ;C:    ;A:        ;K:   】
2)svn status -v path(          )
       ,          ,                      。
 :svn status、svn diff  svn revert                    ,   svn    .svn             。
  :svn st
       7、    
svn delete path -m “delete test fle“
  :svn delete svn://192.168.1.1/pro/domain/test.php -m “delete test file”
    svn delete test.php    svn ci -m ‘delete test file‘,      
  :svn (del, remove, rm)
        8、    
svn log path
  :svn log test.php              ,        
        9、        
svn info path
  :svn info test.php
        10、    
svn diff path(             )
  :svn diff test.php
svn diff -r m:n path(   m   n    )
  :svn diff -r 200:201 test.php
  :svn di
        11、                 
svn merge -r m:n path
  :svn merge -r 200:205 test.php(   200 205            ,          ,      )
        12、SVN   
svn help
svn help ci
——————————————————————————
       ,          
——————————————————————————
        13、            
svn list path
  path                 
  :svn ls
        14、             
svn mkdir:              。
  :
        1、mkdir PATH…
        2、mkdir URL…
         。
        1、         PATH      ,        ,        ,        。
        2、   URL     ,              。       ,              。
        15、      
svn revert:                (          )。revert:
           : revert PATH…
           :           ,          。             
       16、   URL  
svn switch (sw):           URL。
  : 1、switch URL [PATH]
          2、switch –relocate FROM TO [PATH...]
          1、        ,       URL,    “svn update”  ,                。                          。
          2、       URL   ,      URL    。     URL  (             ),                                         。
          17、    
svn resolved:              “  ”  。
  : resolved PATH…
  :                       ;        
    ,    PATH       。
         18、       URL   。
svn cat   [@  ]…       ,           。
svn cat -r PREV filename > filename (PREV      ,         ,            )
 
   :http://www.rjgc.net/control/content/content.php?nid=4418
 

좋은 웹페이지 즐겨찾기