Skip to content

`create-pull-request` is a CLI that lets you open the URL to create a pull request pointing to the base branch in Github and Bitbuket.

License

Notifications You must be signed in to change notification settings

DannyFeliz/create-pull-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --global

Usage

// in the terminal in your project folder (default browser)
create-pull-request
// opens the URL in a specified browser
create-pull-request firefox

It 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 [email protected]:torvalds/linux.git if you run create-pull-request it will open this URL

https://github.com/torvalds/linux/compare/my-cool-feature

Aliases

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

About

`create-pull-request` is a CLI that lets you open the URL to create a pull request pointing to the base branch in Github and Bitbuket.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •