Skip to content

mattrabe/pr-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pr-message

npm version npm bundle size npm downloads NPM License

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

About

Automatically generate beautiful PR messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published