hub-checkout(1)

hub-checkout1

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

Usage

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

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From hub 2.14.2-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.