WinCVS 命令列使用筆記

來源:互聯網
上載者:User
 

WinCVS 命令列使用筆記Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc.    (specify --help-options for a list of options) where command is add, admin, etc.    (specify --help-commands for a list of commands    or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command    (specify -H followed by a command name for command-specific help) Specify --help to receive this message The Concurrent Versions System (CVS) is a tool for version control.For CVS updates and additional information, see    the CVS home page at http://www.cvshome.org/ or    Pascal Molli's CVS site at http://www.loria.fr/~molli/cvs-index.html  查看所有可用命令cvs --help-commandscvs --help-synonyms 查看命令的簡寫形式,例如remove可以簡寫成rm  查看命令的協助cvs -H command_name  查看CVS命令的可用選項cvs --help-options   logincvs -d :pserver:someone@XXX.XXX.XXX.XXX:[port]/cvsroot login預設連接埠:2401  logoutcvs -d :pserver:someone@XXX.XXX.XXX.XXX:[port]/cvsroot logout預設連接埠:2401  列出所有的項目cvs ls  commit/ci 提交瀏覽到檔案(夾)所在目錄cvs commit -m "comment message" filename  添加檔案(夾)瀏覽到檔案(夾)所在目錄cvs add filename# 添加二進位檔案cvs add -kb filename   刪除remove/rm 檔案(夾)瀏覽到檔案(夾)所在目錄cvs remove -f filename 如果想刪除在伺服器生效,提交檔案(夾) commit如果想撤消刪除操作,重新添加檔案(夾) add   列出檔案的修改記錄cvs log filename  檔案版本的回退cvs update -j currentRevision -j oldRevision filename再將更新後的檔案commit,新版本的檔案內容同oldRevision   

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.