Skcript Technologies Private Limited

← All Articles

CLI-PR; A simple bash script for issuing Pull Requests to Github over Command Line

— Written by

CLI-PR; A simple bash script for issuing Pull Requests to Github over Command Line

Create a Pull Request on Github from Command Line interface with this simple bash script. Open Source.

Every single day, we commit code hundreds of times. But people spend a little bit of time opening up Github on a web interface (most of our developers hate it) and click through to issue a Pull Request.

We think this is old-fashioned, and here’s a simple script we wrote to make this process much easier. All that you will have to do is just run bash pr.sh

Here’s how you can use it:

  1. Download this repo
  2. Copy the pr.sh to code directory
  3. Install Hub
  4. Open and change the repo name, upstream name, company name, and branch name
  5. After you write great code and commit, run bash pr.sh to issue a PR.

We believe that this could save you a little bit of time. Hope you enjoy it.

Get CLI-PR

Up next

#AskSkcript: What is Hyperledger's Policy Services?
Skcript /svr/cli-pr-pull-request-command-line-github/ /svrmedia/heroes/f/cli-pr.jpg
Skcript Technologies Private Limited

Book a free consultation

Book a time with our consultants to discuss your project and get a free quote. No strings attached.