commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Tompkins <chtom...@gmail.com>
Subject Re: [ALL][Math] git pull requests: how?
Date Thu, 09 Mar 2017 14:38:55 GMT


> On Mar 9, 2017, at 8:08 AM, Gilles <gilles@harfang.homelinux.org> wrote:
> 
>> On Wed, 8 Mar 2017 10:37:44 -0600, Matt Sicker wrote:
>> The "write to a PR branch" was something I mentioned in a different email.
>> 
>> If you want a single command to merge a PR into master, assuming you've
>> already set up "github" as your github remote:
> 
> $ git remote -v
> github    https://github.com/apache/commons-math.git (fetch)
> github    https://github.com/apache/commons-math.git (push)
> origin    https://git-wip-us.apache.org/repos/asf/commons-math.git (fetch)
> origin    https://git-wip-us.apache.org/repos/asf/commons-math.git (push)
> 
>> 
>> git pull github pull/42
>> git push
>> 
>> Something like that should work.
> 
> $ git pull github pull/50
> fatal: Couldn't find remote ref pull/50
> 
> Am I missing something?
> 

Try

git pull github pull/#/head

-Rob

> Regards,
> Gilles
> 
>> [...]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message