| 6 | | 1. Use git to clone the most up to date development |
| | 6 | 1. Before starting a new development task, you should first make sure you have an up to date version of the code. |
| | 7 | {{{ |
| | 8 | git clone ssh://orda@botwin.pas.rochester.edu |
| | 9 | }}} |
| | 10 | |
| | 11 | and then create a new branch off of the development branch |
| | 12 | {{{ |
| | 13 | git checkout -b ticket_353 development |
| | 14 | }}} |
| | 15 | and then synchronize your new branch with the central repository. |
| | 16 | |
| | 17 | {{{ |
| | 18 | git push -u origin ticket_353 |
| | 19 | }}} |
| | 20 | |
| | 21 | You can then modify code as necessary and then use git add to add any file changes to your next commit |
| | 22 | {{{ |
| | 23 | git add source/ZCooling.f90 modules/objects/tables.f90 |
| | 24 | }}} |
| | 25 | |
| | 26 | |
| | 27 | Then commit your changes locally |
| | 28 | {{{ |
| | 29 | git commit -m "modified zcooling module to write ztable" |
| | 30 | }}} |
| | 31 | |
| | 32 | and then you can push those changes to the main repo |
| | 33 | |
| | 34 | {{{ |
| | 35 | git push |
| | 36 | }}} |
| | 37 | |