소스 검색

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`