hub-checkout(1)
π
hub-checkout(1) β straight from the hub manual, bestie π
β¨ NAME β¨
okay so hub-checkout is literally the command that checks out the head of a pull request as a local branch. that's the whole serve. it's giving "your PR, but make it local." π
π¦ SYNOPSIS π¦
the shape is exactly this, no cap:
hub checkout PULLREQ-URL [BRANCH]
PULLREQ-URL is the pull request URL, and [BRANCH] is the optional branch name. periodt. β¨
πΈ EXAMPLES πΈ
here's the iconic example, served fresh:
$ hub checkout https://github.com/jingweno/gh/pull/73
> git fetch origin pull/73/head:jingweno-feature
> git checkout jingweno-feature
that's it. that's the example. ate and left no crumbs. π
π SEE ALSO π
go bother these other pages too, bestie β they're all in the group chat:
made with π and zero cap: this page is serving hub version 2.14.2, dated 07 Jan 2024. mwah. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms