Hi Gilles,
thanks for the help.

It helps, but mlp doesn't track the pull request branch.

I would like to be able, when in mlp, to just do:

git pull mlp

to fetch and merge all the changes in the remote pull request branch!

Thanks again for the help!

*Luca Cerone*

Tel: +447585611951
Skype: luca.cerone


On 27 September 2013 11:46, Gilles Louppe <g.lou...@gmail.com> wrote:

> Hi Luca,
>
> Let "origin" be the scikit-learn remote repo. From you local master branch
> you did something like:
>
> git fetch origin refs/pull/2120/head:mlp
>
> which fetched PR #2120 into a local branch called "mlp".
>
> If you want to retrieve the last commits of that PR, this is very simple.
> You simply have to call the same command again.
>
> git checkout master # switch to your master branch
> git fetch upstream refs/pull/2120/head:mlp # retrieve last commits and
> update your local branch
> git checkout mlp # switch to the mlp branch
>
> Hope this helps.
>
> Gilles
>
>
> On 27 September 2013 12:29, Lars Buitinck <larsm...@gmail.com> wrote:
>
>> 2013/9/27 Luca Cerone <luca.cer...@gmail.com>:
>> > For example,  Issam explained me how to checkout his branch, which I
>> did,
>> > but I can't understand now how to fetch eventual changes made to this
>> > branch.
>> >
>> > Is there a way to do this? On github I have found this help page:
>> > https://help.github.com/articles/checking-out-pull-requests-locally
>> >
>> > the problem is that doing like this I can fetch all the pull requests,
>> which
>> > may be an overkill for me.
>>
>> PRs are generally not that big, compared to the master history which
>> goes back years. Fetching them selectively may be possible with the
>> appropriate amount of Git magic, but not really worth it, IMHO.
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to