hub-apply(1)
apply - Download a patch from GitHub and apply it locally.
Description
hub-apply
NAME
hub-apply - 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)
See Also
- am(1)
- hub(1)
- apply(1)