Useful CVS Info

CVS Merging Commands

CVS Tagging Commands

Getting Started With CVS And Other Notes

How to Change a File in the Branch

How To Merge Branch Changes back to the Main Trunk

To Merge Changes from the Main Trunk to the Branch



Useful Commands

How do I tell if I checked out a branch or the main trunk?

To Determine if you are working on a branch or the main trunck, run the following command

$ cvs status [file name]

The "Sticky Tag" field will tell you whether the file you specified is on a branch or not. It will say "none" if it's on the main trunk.

How do I see which files have been modified?

Run the following command:

$ cvs -q -n update

This will show you which files have been changed in your current directory (and all subdirectories) without actually updating any files. The -n option to cvs always shows you the output from a CVS command without actually performing the command. The -q option stands for "quiet" and makes the output less verbose.

Example .cvsrc file

The $HOME/.cvsrc file can be used to set default options for any of the cvs commands. Below is an example of some settings:

cvs -q
cvs update -d