DOKK / manpages / debian 11 / hub / hub-checkout.1.en
hub-checkout(1) hub manual hub-checkout(1)

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

hub checkout PULLREQ-URL [BRANCH]

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

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

18 Jul 2021 hub version 2.14.2