《使用 CVS 进行版本管理》

《Version Management With CVS》

2005

使用 CVS 进行版本管理

简介:

cvs 是一个版本控制系统。使用它,您可以记录源文件的历史记录。例如,软件修改时有时会出现错误,您可能在修改后很长时间才发现该错误。使用 cvs,您可以轻松检索旧版本以准确查看导致错误的更改。这有时会有很大帮助。

当然,您可以保存您创建的每个文件的每个版本。但这会浪费大量的磁盘空间。cvs 以一种巧妙的方式将文件的所有版本存储在单个文件中,仅存储版本之间的差异。

英文简介:

cvs is a version control system. Using it, you can record the history of your source files. For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With cvs, you can easily retrieve old versions to see exactly which change caused the bug. This can sometimes be a big help.

You could of course save every version of every file you have ever created. This would however waste an enormous amount of disk space. cvs stores all the versions of a file in a single file in a clever way that only stores the differences between versions.

站长附言:

除非现有的代码使用 CVS ,被迫需要学习使用 CVS 。除此以外,推荐直接去学习目前(2025年)使用更广泛的 Git 来进行源代码的版本管理。

语言
英文/English
在线查阅
Download this Book

最后更新:2025-03-15 16:46:55

←《了解 Knoppix》

→《设计模式:Java 指南》