1.4.0 • Published 4 years ago
create-pull-request v1.4.0
create-pull-request
create-pull-request is a CLI that allows you to open the URL to create a pull request pointing to the base branch in Github and Bitbuket.
Support
- Github
 - BitBucket
 
Installation
Use npm or yarn to install create-pull-request.
# npm
npm install create-pull-request --global
# yarn
yarn add create-pull-request --globalUsage
// in the terminal in your project folder (default browser)
create-pull-request// opens the URL in a specified browser
create-pull-request firefoxIt will open an URL to create a new pull request pointing to the base branch.
e.g.
if you have the linux project and you're working in a cool feature like my-cool-feature and the project origin url is git@github.com:torvalds/linux.git if you run create-pull-request it will open this URL
https://github.com/torvalds/linux/compare/my-cool-featureAliases
You can use any of these aliases to refer to this package.
- create-pull-request
 - cpr
 - open-pr
 - openpr
 
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is open source and available under the: MIT License