How to Branch Using CVS
Open source version control systems such as CVS are used to manage source code and related documentation. CVS stores file history. Programmers can create scripts to log CVS operations. Branches in the CVS system are typically used by employees in different geographical regions working on code at the same time. The code changes made in the branched versions of the code are merged together at a later date, if necessary. CVS can run on most versions of UNIX.
Instructions
-
-
1
Use the command <br /><br /><br /><br />sandbox$ cvs tag ADD_ROOT_NEWFEATURE<br /><br /><br /><br /> to create a tag for the branch root.
-
2
Create the branch with <br /><br /><br /><br />sandbox$ cvs tag -b -r ADD_ROOT_NEWFEATURE \ ADD_BRANCH_NEWFEATURE.
-
-
3
Type in the command<br /><br /><br /><br />sandbox$ cvs up -r ADD_BRANCH_NEWFEATURE<br /><br /><br /><br /> to move the current working directory to the newly created branch.
-
1
Tips & Warnings
Use the "cvs up" command to move the branch up a level.