CVS
Basic Commands
cvs
- commit - make changes permanent and public
- co - check out copies
- add - add additional file to repository
- update - update my local files
- remove - remove file from repository
- diff - see what changes were made
Examples
Check out a file or directory locally or from another machine
- cvs -d ~mccallum/research/papers/cvspapers co canopy
- cvs -d ":ext:ungar@devilish.wharton:/cvs/foster" co bin
Setting up cvs
Tell it to use ssh2 and where to look for the repository
- setenv CVS_RSH ssh2
- setenv CVSROOT :ext:ungar@unagi:/nldb5/ungar/cvs
- cd to the directory you want to import
- cvs import -m "your comment here" directory-name junk1 junk2
(see the documentation)
- directory-name is what it will be called in the CVS repository
- If you haven't set up ssh, see the ssh documentation
Note that cvs defaults to use vi (see vi.help)
return home
ungar@cis.upenn.edu