CVS basic setup & Commands
I. Setup
- CVS repository: The CVS repository of LVG project is located on "/nfsvol/nls/cvs"
- Setup:
- Add "/depot/bin" to your path.
Example in Unix:
Add following line in file ".cshrc"
set path=($path /depot/bin)
- Set environment variable - CVSROOT
Example in Unix:
Add following line in file ".cshrc"
setenv CVSROOT /nfsvol/nls/cvs
- Make the new ".cshrc" effect
Example in Unix:
> cd
> source .cshrc
II. Commands
- Add file/directory to CVS repository
- cvs import xxx
- cvs add xxx
- Setup for multiple users
- Checkout file/directory to local working file system
- Modify a file
- cvs editors
- cvs edit xxx
- Modify the file (vi or other editors)
- cvs unedit xxx
- cvs commit xxx
- Modify a file
- cvs editors
- cvs edit xxx
- Modify the file (vi or other editors)
- cvs unedit xxx
- Other Commands
- cvs update xxx
- cvs status xxx