1. hub-apply(1)
  2. hub manual
  3. hub-apply(1)

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)