Thanks Gary,<div><br></div><div>This maybe be a noobish question but I thought I would ask first before doing anything.  </div><div><br></div><div>Say I&#39;m working on a new feature/bug/whatever and I have made a branch in my git repo to work on it and have pushed the branch to git hub.  Wouldn&#39;t it be better to make a pull request from the branch rather then merging into my master line and making the pull request from there?</div>

<div><br></div><div>My reasons for this are: if I work on a new feature and merge it into my master line then make a pull request to qgis/qgis and my new feature, for whatever reason, doesn&#39;t make it into the main qgis repo, my master branch will always have my changes regardless of if the qgis team decide that are not needed. Every time I do a pull request for something else in the future those changes will be still there and wanting to get pulled across.</div>

<div><br></div><div>My thoughts were to keep the master branch clean, with only the changes from the main repo qgis/qgis using git fetch upstream; git merge upstream/master [keeping the branches up to date using the same method] and then branch and ask for pull request from the branchs into the qgis/qgis project.  That way if the feature is broken/not needed I can just kill the branch and start over from master.</div>

<div><br></div><div>Hopefully that made sense.  What are your thoughts?</div><div><br></div><div>- Nathan     <br><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 3:24 AM, Gary Sherman <span dir="ltr">&lt;<a href="mailto:gsherman@geoapt.com">gsherman@geoapt.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 12/28/10 3:36 AM, Nathan Woodrow wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
I was just reading this:<br>
<a href="http://spatialgalaxy.net/2010/12/27/contributing-to-qgis-using-git/" target="_blank">http://spatialgalaxy.net/2010/12/27/contributing-to-qgis-using-git/</a><br>
<br>
Is this a better method for submitting patches vs attaching a patch in trac?<br>
<br>
- NathanW<br>
</blockquote>
<br></div></div>
It depends on what you want to do. For a one-off patch there is no reason to use git and clone the repository. If you want to continue to contribute, keep your working copy up to date, and be able to push changes, then using GitHub makes sense.<br>


<br>
If you are doing QGIS work and wish you had SVN access, then the git route is for you...<br>
<br>
-gary<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
<br>
<br>
-- <br>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-<br>
Gary Sherman<br>
Chair, QGIS Project Steering Committee<br>
-Desktop GIS Book:<br>
*<a href="http://desktopgisbook.com" target="_blank">http://desktopgisbook.com</a><br>
-Geospatial Consulting &amp; Hosting<br>
*<a href="http://geoapt.com" target="_blank">http://geoapt.com</a><br>
&quot;We work virtually everywhere&quot;<br>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div>