Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Bringing a file under RCS control

Tech Computer Center logo
  1. If you have not already done so, create a subdirectory called RCS under the directory where you will be working on your files. Type this Unix command:
            % mkdir RCS
  2. Create the initial version of your file.
  3. To check in the initial version, use the ci command. For example, if your file were named foo, you would check it in using this Unix command:
            % ci foo
            RCS/foo,v  <--  foo
            enter description, terminated with single '.' or end of file:
            NOTE: This is NOT the log message!
            >>
    As the sample output shows, you will be prompted to type in a brief description of what this file contains or what it is for. End the description with a line containing only one period (.).

This procedure will delete your working copy. The next topic will tell you how to get it back.


Next: Locking a file under RCS control
See also: What does a source code control system do?
Previous: Using the RCS source code control system
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/06 21:16:34 UT
URL: http://www.nmt.edu/tcc/help/tool/rcs/initial.html
QR two-dimensional bar code