mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
gh-pr-merge: add --subject example (#7732)
This commit is contained in:
parent
da55f621eb
commit
8b9b6e98b5
1 changed files with 4 additions and 0 deletions
|
@ -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}}"`
|
||||
|
|
Loading…
Add table
Reference in a new issue