Setting up for RCS

At a directory where you put your files (source code of any kind), use the following command to create a subdirectory called RCS (uppercase):

mkdir RCS

To start to use RCS right away, do the following (assuming project1.c is an existing file):

ci -l project1.c

RCS asks you to enter a description for this file. Type in something to describe the file, not the initial version. Enter a single period . on a line, and RCS will create the appropriate shadow files for you.

By the way, ci is the abbreviation of ``check in''. The -l (dash-lowercase-L) option means we want to lock the file so it can be edited.



Copyright © 2004-11-02 by Tak Auyeung