You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2013/11/12 06:43:43 UTC
Applying GitHub pull requests
Apologies if this is obvious to all, but I figured I'd share as it took a
moment to look it up and get the right answer out of the noise on
StackOverflow :)
A simple way to apply a GitHub pull request, say:
https://github.com/apache/commons-lang/pull/11/
Download (wget etc) https://github.com/apache/commons-lang/pull/11.patchand use:
patch -p1 < 11.patch
[huge assumption that people have patch on the command line]
Hen
Re: Applying GitHub pull requests
Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Nov 12, 2013 at 12:43 AM, Henri Yandell <fl...@gmail.com> wrote:
> Apologies if this is obvious to all, but I figured I'd share as it took a
> moment to look it up and get the right answer out of the noise on
> StackOverflow :)
>
> A simple way to apply a GitHub pull request, say:
>
> https://github.com/apache/commons-lang/pull/11/
>
> Download (wget etc)
> https://github.com/apache/commons-lang/pull/11.patchand use:
>
> patch -p1 < 11.patch
>
> [huge assumption that people have patch on the command line]
>
There is also "svn patch ..."
Gary
>
> Hen
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory