Checking in Changes with CVS
After adding, removing, or modifying any files in CVS,
you need to "check in" or "commit" the changes to the CVS server before
other users can see those changes (by updating
their local copy of the module from the CVS server)
Linux users can use the command-line CVS program to check in changes
- Adding files and folders
- Open a Console
- Go to the folder containing the file(s) or folder you want to add
- Run "cvs add -kb name(s)-of-file(s)-or-folder-to-add"
- Removing files
- Open a Console
- Go to the folder containing the file(s) you want to remove
- Run "cvs remove name(s)-of-file(s)-to-remove"
- Commit the changes after adding, removing or modifying files
- Open a Console
- Go to the folder containing the file(s) or folder you want to commit
- Run "cvs commit -m "log message" name(s)-of-file(s)-or-folder-to-commit"
Windows users can use the graphical WinCVS program to check in changes
- Adding files and folders
- Select the file(s) or folder you want to add
- Open the Modify menu
- If you have selected a binary file, click on Add Selection Binary
- If you have selected a folder or text file, click on Add Selection
- Wait for CVS to finish and print "*****CVS exited normally with code 0*****"
- Removing files
- Select the file(s) you want to remove
- Open the Modify menu
- Click on Remove Selection
- Wait for CVS to finish and print "*****CVS exited normally with code 0*****"
- Commit the changes
- Select added, removed, or modified files, or a folder containing them
- Right click on the selected file(s) or folder (or open the Modify menu)
- Select Commit Selection
- Type a comment in the "Enter the log message" box
- Click on the OK button
- Wait for CVS to finish and print "*****CVS exited normally with code 0*****"