186Chapter6 • Introduction to CVS
The final merged and edited file is shown below and is ready to be checked back into the
repository.
# cat test.dat
aerosol
aerosolize
aerosols
aerospace
aesthetic
aesthetically
aesthetics
zebras
zenith
zoological
zoologically
zoom
zooms
zoos
6.4.7Checking the Project Back In
Once you have made changes to a file, it is ready to be checked back into the repository.
This is done with the
commit
option. The
checkin
and
ci
options are similar to the
commit
option, but instead of simply synchronizing the working file with the one in the repository,
commit
also releases the file and sets certain flags that can be used if the watch functions of
CVS are being used.
# cvs commit -m "Added information to test.dat" test.dat
If there are any further conflicts, CVS will notify you that the files need to be changed.
6.4.8Adding Files to a Project
Files may be added to a project after it has been imported. This is done by specifying the
add
option name of the file or files to be added to the project.
For example:
# cvs add index.html
cvs server: scheduling file `index.html' for addition
cvs server: use 'cvs commit' to add this file permanently
# cvs commit -m "new file" index.html
RCS file: /usr/local/cvsroot/fuzion/index.html,v
done
Checking in index.html;
/usr/local/cvsroot/fuzion/index.html,v <-- index.html
initial revision: 1.1
done