| 4 | == SVN Usage == |
| 5 | ===Typical use case=== |
| 6 | None of this is compulsory, it's just a fairly complete example of how things work; |
| 7 | |
| 8 | 1. Check out the software to a local working directory |
| 9 | |
| 10 | {{{ |
| 11 | svn co https://forge.roe.ac.uk/svn/GHOST ./GHOST-temp |
| 12 | }}} |
| 13 | |
| 14 | 2. Add a directory |
| 15 | |
| 16 | {{{ |
| 17 | cd GHOST-temp/tests/redis (now in GHOST-temp/tests/redis directory) |
| 18 | mkdir DataStore02 |
| 19 | cd DataStore02 (now in GHOST-temp/tests/redis/DataStore02 directory) |
| 20 | }}} |
| 21 | |
| 22 | 3. Add some files |
| 23 | {{{ |
| 24 | echo "A test of netCDF storage for GHSOT array data" >> readme.txt |
| 25 | }}} |
| 26 | |
| 27 | 4. Now tell SVN about the new directories and files |
| 28 | {{{ |
| 29 | cd .. (now in GHOST-temp/tests/redis directory) |
| 30 | svn add DataStore02 |
| 31 | }}} |
| 32 | |
| 33 | 5. Now commit your changes (files get written to SVN here) |
| 34 | {{{ |
| 35 | cd ../.. (now in GHOST-temp directory) |
| 36 | svn commit |
| 37 | }}} |
| 38 | |