From cc5b7163407e836b86aa0dde9e52c625d8abb6f9 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 8 Mar 2021 17:27:00 -0300 Subject: [PATCH] gh-pr: add examples for edit subcommand (#5359) --- pages/common/gh-pr.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/gh-pr.md b/pages/common/gh-pr.md index 371ad9628..848bce81c 100644 --- a/pages/common/gh-pr.md +++ b/pages/common/gh-pr.md @@ -22,3 +22,11 @@ - Merge the pull request associated with the current branch, removing the branch on both the local and the remote: `gh pr merge` + +- Edit a pull request interactively: + +`gh pr edit` + +- Edit the base branch of a pull request: + +`gh pr edit --base {{branch_name}}`