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