hub-apply - Man Page

Download a patch from GitHub and apply it locally.

Synopsis

hub apply GITHUB-URL

Options

GITHUB-URL

A URL to a pull request or commit on GitHub.

Examples

$ hub apply https://github.com/jingweno/gh/pull/55
> curl https://github.com/jingweno/gh/pull/55.patch -o /tmp/55.patch
> git apply /tmp/55.patch

See Also

hub-am(1), hub(1), git-apply(1)

Referenced By

hub(1), hub-am(1).

16 Mar 2020 hub version 2.14.2 hub manual