Use Pull Request description as Squashed and Merged commit messages.
Fixes isaacs/github#1025
When merging a PR with either the "Squash and merge" or "Create a merge commit" buttons:
- The commit title and message will be copied from the Pull Request.
- Any leading HTML comments will be removed.
- Co-authors will be de-duplicated and appended.
The final commit on the base branch will look something like:
PR Title (#1234)
PR Body
Co-authored-by: ... (if multiple authors)
Click on the icon and select
Enable Squashed Merge Message on this domain to enable the extension on your
custom GitHub Enterprise domain.
In order for this extension to work with Refined GitHub you need to disable the
clear-pr-merge-commit-message
feature.
To disable in Chrome
- Go to chrome://extensions
- Open Details for Refined GitHub
- Open Extension options
- Search for and disable
clear-pr-merge-commit-message
To disable in Firefox
- Go to about:addons
- Open Refined Github
- Open Preferences
- Search for and disable
clear-pr-merge-commit-message
Icons made by monkik from www.flaticon.com