Explorar o código

hub: add hub pr usage for checkout someone created pull-request (#3170)

Naoya Yamashita %!s(int64=5) %!d(string=hai) anos
pai
achega
4b911f1315
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pages/common/hub.md

+ 4 - 0
pages/common/hub.md

@@ -24,6 +24,10 @@
 
 `hub pull-request --no-edit`
 
+- Create a new branch with the contents of a pull request and switch to it:
+
+`hub pr checkout {{pr_number}}`
+
 - Upload the current (local-only) repository to your github account:
 
 `hub create`