Przeglądaj źródła

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

Naoya Yamashita 5 lat temu
rodzic
commit
4b911f1315
1 zmienionych plików z 4 dodań i 0 usunięć
  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`