[Qgis-developer] Contributing to qgis using git
madmanwoo at gmail.com
Mon Jan 3 21:27:44 EST 2011
This maybe be a noobish question but I thought I would ask first before
Say I'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'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?
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'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.
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.
Hopefully that made sense. What are your thoughts?
On Wed, Dec 29, 2010 at 3:24 AM, Gary Sherman <gsherman at geoapt.com> wrote:
> On 12/28/10 3:36 AM, Nathan Woodrow wrote:
>> Hi All,
>> I was just reading this:
>> Is this a better method for submitting patches vs attaching a patch in
>> - NathanW
> 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.
> If you are doing QGIS work and wish you had SVN access, then the git route
> is for you...
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
> Gary Sherman
> Chair, QGIS Project Steering Committee
> -Desktop GIS Book:
> -Geospatial Consulting & Hosting
> "We work virtually everywhere"
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer