目錄
現在,我們將要深入到Subversion的使用細節當中,完成本章時,你將學會所有Subversion日常使用的命令,你將從把資料匯入到Subversion開始,接著是初始化的檢出(check out),然後是做出修改並檢查,你也將會學到如何在工作副本中獲取別人的修改,檢查他們,並解決所有可能發生的衝突。
這一章並不是Subversion命令的完全列表—而是你將會遇到的最常用任務的介紹,這一章假定你已經讀過並且理解了第 1 章 基本概念,而且熟悉Subversion的模型,如果想查看所有命令的參考,見第 9 章 Subversion 完全參考。
在繼續閱讀之前,需要知道Subversion使用中最重要的命令:svn help,Subversion指令列工具是一個自文件的工具—在任何時候你可以運行svn help SUBCOMMAND來查看子命令的語法、參數以及行為方式。
$ svn help import import: Commit an unversioned file or tree into the repository. usage: import [PATH] URL Recursively commit a copy of PATH to URL. If PATH is omitted '.' is assumed. Parent directories are created as necessary in the repository. If PATH is a directory, the contents of the directory are added directly under URL. Valid options: -q [--quiet] : print as little as possible -N [--non-recursive] : operate on single directory only …