본문 바로가기

IT Tech/Programming

[SVN] ## 유용한 SVN 부가 명령어들 ##

반응형




## 유용한 SVN 부가 명령어들 ##



1. svn help

[PMU][ ~/project/apn/packages/wbp-2.0.0 ]
(11:47:34 AM) $ svn --help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.6.18.
Type 'svn help <subcommand>' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules
  or 'svn --version --quiet' to see just the version number.

Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.

Available subcommands:
   add
   blame (praise, annotate, ann)
   cat
   changelist (cl)
   checkout (co)
   cleanup
   commit (ci)
   copy (cp)
   delete (del, remove, rm)
   diff (di)
   export
   help (?, h)
   import
   info
   list (ls)
   lock
   log
   merge
   mergeinfo
   mkdir
   move (mv, rename, ren)
   propdel (pdel, pd)
   propedit (pedit, pe)
   propget (pget, pg)
   proplist (plist, pl)
   propset (pset, ps)
   resolve
   resolved
   revert
   status (stat, st)
   switch (sw)
   unlock
   update (up)

Subversion is a tool for version control.
For additional information, see http://subversion.apache.org/



2. Diff(di)

svn diff <file>

svn diff -r <rivision number> <file>

svn diff -r <rivision number>:<revision number> <file>




3. blame

- 행별로 수정한 사용자를 보여줌

svn blame <file>




4. rename

파일, 디렉토리의 이름 수정

svn rename <file1> <file2>





to be continued...







반응형