[phobos] Push or pull?

Sean Kelly sean at invisibleduck.org
Wed Feb 9 07:26:29 PST 2011


Even the instructions on github for generating a pull request use the master branch. After a few failed attempts usig a separate branch I gave up and did what thy said. 

Sent from my iPhone

On Feb 9, 2011, at 1:55 AM, Don Clugston <dclugston at googlemail.com> wrote:

> On 9 February 2011 09:33, Lars Tandle Kyllingstad <lars at kyllingen.net> wrote:
>> On Tue, 2011-02-08 at 15:40 -0800, Sean Kelly wrote:
>>> I still barely understand how Git works, but I'm starting to warm up to the workflow.  Using SVN, coordinating library and compiler changes (ie. spanning multiple repositories) generally resulted in a window where the library code was out of date or broken.  With Git I'm finding that I can create a series of pull requests that reference one another, which is a heck of a lot nicer than including multiple patch files to a bugzilla ticket.
>>> 
>>> I'm still fuzzy on what to do if I want to create multiple pull requests that don't derive from one another though.  A fork for each one?  I'd hoped that I could create a branch for each, but haven't yet figured out how to push the branch upstream so I can generate the pull request from it.
>> 
>> I've written a bit about that in the still-embryonic contributor's
>> guide:
>> 
>>    http://www.kyllingen.net/guide.html#publish
>> 
>> It's probably a good idea to always create a new branch for each pull
>> request, though, so I'll put a note about that in there, too.
>> 
>> -Lars
> 
> I think github does you a major disservice by allowing you to do a
> pull request on your master branch, without giving you a warning.
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list