cvs_howto.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--#include file="header.html" -->
  2. <h3>How to use CVS</h3>
  3. If you want to know all the gory details, you will want to visit
  4. <a href="http://www.cvshome.org/">the CVS main web page</a>.<p>
  5. For the impatient, the following is probably about all you need to know:
  6. <p>
  7. <dl>
  8. <dt><pre>cvs checkout -c</pre>
  9. <dd>Will list the modules available for checkout
  10. <dt><pre>cvs checkout &lt module name &gt</pre>
  11. <dd>Will checkout the named module
  12. <dt><pre>cvs co &lt module name &gt</pre>
  13. <dd>Same thing
  14. <dt><pre>cvs update</pre>
  15. <dd>Updates your local archive so it is in sync with the repository
  16. -- your local updates are left intact. Tries to merge upstream updates
  17. into your local updates. You will see the following tags when it is
  18. updating your local repository: C means conflict, U means update,
  19. P means patched, and M means modified.
  20. <dt><pre>cvs up</pre>
  21. <dd>Same thing
  22. <dt><pre>cvs update &lt file name &gt</pre>
  23. <dd>Same thing but for just the named file(s)/directory(s).
  24. <dt><pre>cvs commit</pre>
  25. <dd>Will check in all your work.
  26. <dt><pre>cvs add &lt file name &gt</pre>
  27. <dd>Adds the named file/directory into CVS
  28. <dt><pre>cvs remove &lt file name &gt</pre>
  29. <dd>Removes the named file/directory from the upstream repository.
  30. <dt><pre>cvs rm &lt file name &gt</pre>
  31. <dd>Same thing
  32. <dt><pre>cvs log &lt file name &gt</pre>
  33. </dl>
  34. <!--#include file="footer.html" -->