Subject: Re: [boost] [githelp] Moving from push to pull requests
From: Jessica Hamilton (jessica.l.hamilton_at_[hidden])
Date: 2015-04-29 17:46:23
On 30 April 2015 at 09:42, Fletcher, John P <j.p.fletcher_at_[hidden]> wrote:
> I have been working for some time on boost phoenix using
> git push origin develop
> to push my changes. I have now been asked to change to use pull requests and I am not clear about how to get into the new setup.
You should push to a feature branch, and then create a PR from your
feature branch to develop.
I also find https://hub.github.com/ very helpful for doing PRs from
the command line.
> My current setup on my local computer has phoenix as a subproject in a complete boost clone with branches develop, master and several other branches. I have not created any branches on the remote repository.
> What I want is to have a repository where I can work and then send pull requests for things to go to the main develop.
> I have two ideas about how this could be done.
> (1) create a separate repository outside the modular structure and put a copy of phoenix there. I have created an empty structure called phoenix_changes both on my local computer and under my user name on github. I am puzzled as to how to get the correct content into it. This could come from my local copy or from the main repository.
> (2) Should I instead create a new branch in both my local and the remote copies of boost/phoenix? If so how do I do that? Can I branch from the current develop as the starting point?
> In either case I want to be able to send pull requests to the other developers. It would be helpful to have an example of the commands needed.
> Please ask me for more information if this is not clear.
> Thank you for the [githelp] resource.
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk