Changes between Version 12 and Version 13 of HowToGit
- Timestamp:
- 05/18/19 07:21:34 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v12 v13 58 58 NOTE: for different pull requests, simply create different feature branches. 59 59 60 === Workflow for external contributors - option 1===60 === Workflow for external contributors === 61 61 62 62 - to be discussed - 63 63 64 64 First fork the GRASS GIS repo in the !GitHub web interface. 65 66 You 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. 65 67 66 68 {{{ … … 73 75 ... 74 76 77 # go to repo dir 78 cd grass 79 80 # add your fork as 81 git remote add github https://github.com/<username>/grass.git 82 git remote set-url --push github ssh://git@github.com/<username>/grass.git 83 84 git push github <feature-branch> 85 75 86 # push feature branch to own fork repo of GRASS GIS 76 87 git push origin $feature_branch_name # here: origin is fork repo 77 88 78 89 # 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.git90 cd grass91 git remote add github https://github.com/<username>/grass.git92 git remote set-url --push github93 ssh://git@github.com/<username>/grass.git94 ...95 git push github <feature-branch>96 90 }}} 97 91