GNU Info

Info Node: (cvsbook.info)Adding Files

(cvsbook.info)Adding Files


Next: Adding Directories Up: Other Useful CVS Commands
Enter node , (file) or (file)node

Adding Files
------------

Adding a file is a two-step process: First you run the add command on
it, then commit.  The file won't actually appear in the repository until
commit is run:

     floss$ cvs add newfile.c
     cvs add: scheduling file 'newfile.c' for addition
     cvs add: use 'cvs commit' to add this file permanently
     floss$ cvs ci -m "added newfile.c" newfile.c
     RCS file: /usr/local/cvs/myproj/newfile.c,v
     done
     Checking in newfile.c;
     /usr/local/cvs/myproj/newfile.c,v  <-  newfile.c
     initial revision: 1.1
     done
     floss$


automatically generated by info2www version 1.2.2.9