hub-checkout - Man Page

Check out the head of a pull request as a local branch.

Synopsis

hub checkout PULLREQ-URL [BRANCH]

Examples

$ hub checkout https://github.com/jingweno/gh/pull/73
> git fetch origin pull/73/head:jingweno-feature
> git checkout jingweno-feature

See Also

hub-merge(1), hub-am(1), hub(1), git-checkout(1)

Referenced By

hub(1), hub-merge(1), hub-pull-request(1).

11 Feb 2024 hub version 2.14.2 hub manual