Replicate commits from a GitHub pull request locally.
Synopsis
hub am
[-3] GITHUB-URL
Options
- -3
- (Recommended) See git-am(1).
- GITHUB-URL
- A URL to a pull request or commit on GitHub.
Examples
$ 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
See also
hub-apply(1), hub-cherry-pick(1), hub(1), git-am(1)