Ubuntu Manpages

hub-am

Replicate commits from a GitHub pull request locally.

hub am [-3] GITHUB-URL

-3

(Recommended) See git-am(1).

GITHUB-URL

A URL to a pull request or commit on GitHub.

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

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