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

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.

Subscribe to Sudo vs Root

Our newsletter rolls out every 15 days. No fluff. Pure content.

Comments and Discussions

Skcript https://www.skcript.com/svr/cli-pr-pull-request-command-line-github/ https://www.skcript.com/svrmedia/heroes/f/cli-pr.jpg