2003-12-10 17:38:20 +05:30
|
|
|
<!--#include file="header.html" -->
|
|
|
|
|
|
|
|
|
|
|
|
<h3>How to use CVS</h3>
|
|
|
|
|
|
|
|
|
|
|
|
If you want to know all the gory details, you will want to visit
|
|
|
|
<a href="http://www.cvshome.org/">the CVS main web page</a>.<p>
|
|
|
|
For the impatient, the following is probably about all you need to know:
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt><pre>cvs checkout -c</pre>
|
|
|
|
<dd>Will list the modules available for checkout
|
2004-03-15 13:59:22 +05:30
|
|
|
<dt><pre>cvs checkout < module name ></pre>
|
2003-12-10 17:38:20 +05:30
|
|
|
<dd>Will checkout the named module
|
2004-03-15 13:59:22 +05:30
|
|
|
<dt><pre>cvs co < module name ></pre>
|
2003-12-10 17:38:20 +05:30
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs update</pre>
|
|
|
|
|
2004-03-15 13:59:22 +05:30
|
|
|
<dd>Updates your local archive so it is in sync with the repository
|
|
|
|
-- your local updates are left intact. Tries to merge upstream updates
|
2003-12-10 17:38:20 +05:30
|
|
|
into your local updates. You will see the following tags when it is
|
2004-03-15 13:59:22 +05:30
|
|
|
updating your local repository: C means conflict, U means update,
|
2003-12-10 17:38:20 +05:30
|
|
|
P means patched, and M means modified.
|
|
|
|
<dt><pre>cvs up</pre>
|
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs update < file name ></pre>
|
|
|
|
<dd>Same thing but for just the named file(s)/directory(s).
|
|
|
|
<dt><pre>cvs commit</pre>
|
|
|
|
<dd>Will check in all your work.
|
|
|
|
<dt><pre>cvs add < file name ></pre>
|
|
|
|
|
|
|
|
<dd>Adds the named file/directory into CVS
|
|
|
|
<dt><pre>cvs remove < file name ></pre>
|
|
|
|
<dd>Removes the named file/directory from the upstream repository.
|
|
|
|
<dt><pre>cvs rm < file name ></pre>
|
|
|
|
<dd>Same thing
|
|
|
|
<dt><pre>cvs log < file name ></pre>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<!--#include file="footer.html" -->
|
|
|
|
|