120 | | - to be discussed - |
| 120 | - to be discussed - |
| 121 | |
| 122 | One time only: |
| 123 | {{{ |
| 124 | # # "origin" points to your grass-addons repo - no fork needed |
| 125 | git clone git@github.com:OSGeo/grass-addons.git |
| 126 | }}} |
| 127 | |
| 128 | Work with git: |
| 129 | {{{ |
| 130 | # <make local source code changes> |
| 131 | vim ... |
| 132 | |
| 133 | # list local changes |
| 134 | git status |
| 135 | git add file1.c file2.py ... |
| 136 | git commit -m 'my change with reasonable explanation...' |
| 137 | |
| 138 | # assuming that "origin" points to OSGeo/grass-addons |
| 139 | git fetch origin |
| 140 | git rebase origin/master |
| 141 | |
| 142 | # push feature branch to origin, i.e. directly to OSGeo/grass-addons repo |
| 143 | git push origin |
| 144 | }}} |