pr-message
Automatically generate beautiful PR messages.
Compatibility:
-
✅ bash -
✅ zsh -
✅ macOS Terminal -
✅ Windows Command Prompt -
✅ Windows PowerShell
Installation:
yarn add --dev pr-message
or
npm add --save-dev pr-message
To automatically run after every commit, add this package to your post-commit
hook:
"husky": {
"hooks": {
"post-commit": "pr-message"
}
}
On-demand use:
Run pr-message
and enter a target branch when prompted:
$ yarn pr-message
pr-message v1
🤓 Which branch will you PR into (leave blank to skip)? develop
✅ Here is your PR message:
* First commit
* Second commit
- with multiple
- lines in message