Skcript's Logo
Skcript's Logo

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.

Subscribe to our awesome Newsletter.

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

Currently reading:

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


Subscribe to our Newsletter:


Share article on:

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.

Share article on

Comments and Discussions

Skcript


Stay Updated with Our Newsletter
SIGN UP