<div dir="ltr"><br><br>On Sun, May 19, 2019 at 5:24 PM Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>> wrote:<br>><br>><br>><br>> On Sat, May 18, 2019 at 12:11 PM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>>><br>>><br>>> On Sat, May 18, 2019 at 5:59 PM Panagiotis Mavrogiorgos<br>>> <<a href="mailto:pmav99@gmail.com">pmav99@gmail.com</a>> wrote:<br>>> ><br>>> > I would suggest that:<br>>> ><br>>> > - even core devs fork the main repo<br>>> > - "origin" is the personal remote GRASS repository (e.g. in my case <a href="https://github.com/pmav99/grass">https://github.com/pmav99/grass</a>)<br>>> > - everyone adds the main GRASS repository as a secondary remote (e.g. "upstream")<br>>><br>>> yes, it sounds good to me (while my opinion only counts 0.02 cents here).<br>>><br>>> > This way:<br>>> ><br>>> > 1. You always push to "origin" and you create a Pull Request from the Github UI<br>>> > 2. To get updates you always pull from "upstream"<br>>> > 3. You always rebase your code to "upstream/master".<br>>> > 4. You don't need separate instructions for non core-devs.<br>>><br>>> Updated in a similar way to<br>>><br>>> <a href="https://trac.osgeo.org/grass/wiki/HowToGit#Workflowforcoredevelopers">https://trac.osgeo.org/grass/wiki/HowToGit#Workflowforcoredevelopers</a><br>><br>><br>><br>> Hi, any opinions on what should be the primary and secondary remote? The the fork or upstream? As far as I understood, Bas is suggesting adding the fork, Panos adding the upstream. There does not seem to be that much difference, but the commands are different, so we need to decide for the instructions. GitHub help suggests cloning fork and adding upstream. Syncing to upstream seems more straight forward when cloning upstream and adding to the fork...<br><div><br></div><div>GDAL [0] suggests to clone upstream, then add your own fork. For those who don't have write access to upstream it does not matter IMHO. For those who do have write access to upstream, it might be safer to have origin refer to the personal fork. Ideally, you would set up the local repo such that you pull from upstream and push to your fork.</div><div><br></div><div>my 0.2c (trying to learn fast)<br></div><div><br></div><div>Markus M<br></div><div><br></div><div>[0] <a href="https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md#initiate-your-work-repository">https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md#initiate-your-work-repository</a></div><div><br></div></div>