Adding / Editing / Committing / Updating

Adding files to a project

Let's create hello.c:
#include 

main()
{
        puts("Hello World");
}
and a Makefile:
hello: hello.o
        $(CC) -o hello hello.o
and add them to the CVS tree:
$ add hello.c Makefile
However, local changes are only made to the repository when you commit:
$ cvs commit -m "first shot at it"
If you don't use -m to specify a log message, cvs will run the editor in EDITOR to let you edit the log message.

pg 13 Table of Contents Previous Page Next Page