Changes between Version 29 and Version 30 of HowToSVN


Ignore:
Timestamp:
Dec 10, 2008, 2:09:33 PM (15 years ago)
Author:
neteler
Comment:

Forking and cloning and merging back

Legend:

Unmodified
Added
Removed
Modified
  • HowToSVN

    v29 v30  
    124124}}}
    125125
     126=== Forking and cloning and merging back ===
     127
     128If you want to create a fork or clone of an existing module, use "svn copy", not e.g. "cp -r". Also the source should be repository URL rather than a working copy directory. E.g.:
     129
     130{{{
     131cd raster
     132svn copy https://svn.osgeo.org/grass/grass/trunk/raster/r.watershed r.watershed.mfd
     133}}}
     134
     135This way, you can merge the changes since the fork back into the original. Or if you decide to replace the original with the forked version, the fork will have inherited the original's history when it was created.
     136
     137Note: grass-addons/ is part of the same repository as grass/, so it's possible to copy, rename, merge, etc between grass-addons/ and grass/.
     138
    126139
    127140=== Non-recursive checkout ===