Преглед на файлове

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

Naoya Yamashita преди 5 години
родител
ревизия
4b911f1315
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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`