1. hub-checkout(1)
  2. hub 手册
  3. hub-checkout(1)

将某个拉取请求的头检出为某个本地分支。

概要

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)