Conceptual Overview
The basic concepts for source code management systems were presented earlier in Chapter 12. As described there, CVS is a distributed source code management system based on the “copy, modify, merge” model. It uses RCS format files for storing data in its repository and is currently the most popular source code management suite for Unix and Unix-like systems.
Table 14-1 is a quick-start guide to using CVS. You would use the commands in the order shown to create and start using a CVS repository. (The basic steps for the Subversion source code management system are shown in more detail in the section "Using Subversion: A Quick Tour" in Chapter 15. Using CVS is similar.)
|
Command |
Purpose |
|
|
Make the repository directory. |
|
|
Initialize the repository. |
|
|
Import the initial version of a project into the repository. |
|
|
Create a sandbox. |
|
|
Compare the sandbox to the repository, or different versions in the repository. |
|
|
Check if files have changed in the sandbox or the repository. |
|
|
Download changes from the repository to the sandbox. |
|
|
Upload changes from the sandbox to the repository. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access