| | 13 | |
| | 14 | If not noted otherwise all commands are recursive. |
| | 15 | |
| | 16 | === checkout (co) === |
| | 17 | the checkout command is used to create a local copy of a svn subtree on the local computer. |
| | 18 | |
| | 19 | the syntax used is ''svn co <remote-path> <local-path>'', if <local-path> is omitted the last remote folder will be used as <local-path>. |
| | 20 | |
| | 21 | This will create a folder orxonox-trunk with the contents of the trunk |
| | 22 | {{{ |
| | 23 | svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk |
| | 24 | }}} |
| | 25 | |
| | 26 | This will create a folder called test, with the content of the test branch. |
| | 27 | {{{ |
| | 28 | svn co https://svn.orxonox.net/orxonox/branches/test |
| | 29 | }}} |
| | 30 | |
| | 31 | === update (up) === |
| | 32 | update is closely related to checkout, as it also download - or updates - the svn tree. while checkout is normally only used once, update is used all the time. the syntax is ''svn up <local-path>'', if <local-path> is omitted the current update will be allied to the current directory. |
| | 33 | |
| | 34 | This will update the current folder including subfolders. |
| | 35 | {{{ |
| | 36 | svn up |
| | 37 | }}} |
| | 38 | |
| | 39 | This will update the trunk and the test-branch. |
| | 40 | {{{ |
| | 41 | svn up trunk branches/test |
| | 42 | }}} |
| | 43 | |
| | 44 | === checkin (ci) === |
| | 45 | sometime also called commit |