gh-pr-merge: add --subject example (#7732)

feature/windows-fix-syntax-2
Axel Navarro 2022-02-02 01:51:40 -03:00 committed by GitHub
parent da55f621eb
commit 8b9b6e98b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
`gh pr merge --{{merge|squash|rebase}}` `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: - Squash the current pull request into one commit with the message body and merge:
`gh pr merge --squash --body="{{commit_message_body}}"` `gh pr merge --squash --body="{{commit_message_body}}"`