Explorar el Código

git-pr: add page (#2674)

Owen Voke hace 6 años
padre
commit
50a1b06395
Se han modificado 1 ficheros con 19 adiciones y 0 borrados
  1. 19 0
      pages/common/git-pr.md

+ 19 - 0
pages/common/git-pr.md

@@ -0,0 +1,19 @@
+# git pr
+
+> Check out GitHub pull requests locally.
+
+- Check out a specific pull request:
+
+`git pr {{pr_number}}`
+
+- Check out a pull request for a specific remote:
+
+`git pr {{pr_number}} {{remote}}`
+
+- Check out a pull request from its URL:
+
+`git pr {{url}}`
+
+- Clean up old pull request branches:
+
+`git pr clean`