From 8b9b6e98b56eace63cfaa5def2e7aeccfc396ed6 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Wed, 2 Feb 2022 01:51:40 -0300 Subject: [PATCH] gh-pr-merge: add --subject example (#7732) --- pages/common/gh-pr-merge.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/gh-pr-merge.md b/pages/common/gh-pr-merge.md index 839dfdd26..272745299 100644 --- a/pages/common/gh-pr-merge.md +++ b/pages/common/gh-pr-merge.md @@ -19,6 +19,10 @@ `gh pr merge --{{merge|squash|rebase}}` +- Merge the current pull request with the specified merge strategy and commit message: + +`gh pr merge --{{merge|squash|rebase}} --subject {{commit_message}}` + - Squash the current pull request into one commit with the message body and merge: `gh pr merge --squash --body="{{commit_message_body}}"`