Changes between Version 12 and Version 13 of HowToGit


Ignore:
Timestamp:
May 18, 2019, 7:21:34 AM (5 years ago)
Author:
wenzeslaus
Comment:

merge option 1 and option 2 as one workflow (draft)

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v12 v13  
    5858NOTE: for different pull requests, simply create different feature branches.
    5959
    60 === Workflow for external contributors - option 1 ===
     60=== Workflow for external contributors ===
    6161
    6262- to be discussed -
    6363
    6464First fork the GRASS GIS repo in the !GitHub web interface.
     65
     66You clone the GRASS GIS repo and add the fork as an additional remote (or the other way around), this makes merging changes from the GRASS GIS repo easier.
    6567
    6668{{{
     
    7375...
    7476
     77# go to repo dir
     78cd grass
     79
     80# add your fork as
     81git remote add github https://github.com/<username>/grass.git
     82git remote set-url --push github ssh://git@github.com/<username>/grass.git
     83
     84git push github <feature-branch>
     85
    7586# push feature branch to own fork repo of GRASS GIS
    7687git push origin $feature_branch_name   # here: origin is fork repo
    7788
    7889# create pull request in GitHub Web interface (the link is shown conveniently in the terminal)
    79 }}}
    80 
    81 
    82 === Workflow for external contributors - option 2 ===
    83 
    84 - to be discussed -
    85 
    86 You clone the GRASS GIS repo and add the fork as an additional remote, this makes merging changes from the GRASS GIS repo easier.
    87 
    88 {{{
    89 git clone https://github.com/OSGeo/grass.git
    90 cd grass
    91 git remote add github https://github.com/<username>/grass.git
    92 git remote set-url --push github
    93 ssh://git@github.com/<username>/grass.git
    94 ...
    95 git push github <feature-branch>
    9690}}}
    9791