CVS Quickstart: A Short guide to using CVS on a networked system | ||
---|---|---|
<<< Previous | A working session | Next >>> |
From within the directory where I have the new file I run the following:
Example 4. A simple Commit
[A-Hacker@work]$ cvs commit cvs commit: Examining . A-Hacker@cvs.tenforty.sourceforge.net's password:<PassWord4Login> |
RCS file: /cvsroot/tenforty/documentation/cvs-quickstartv0.2.sgml,v |
Because I didn't specify the- m switch the CVS server opens VI for me to enter a message about this version of the file:
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Added Files:
CVS: cvs-quickstartv0.2.sgml
CVS: ----------------------------------------------------------------------
Initial version of this. Still Alpha.
~
~
:wq
done
Only the lines I enter will be shown by the server. So I leave some concise yet fulsome statement of what I have done.
CVS then does the commit ...
Checking in cvs-quickstartv0.2.sgml; /cvsroot/tenforty/documentation/cvs-quickstartv0.2.sgml,v <-- cvs-quickstartv0.2.sgml initial revision: 1.1 done |
and tells me the location, version number and in this case the success of the commit, (no conflicts).
<<< Previous | Home | Next >>> |
Adding files and directories | Up | Updating Your Working Source |