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


(Skcript Bot) #1

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](https://github.com/github/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.


This is a companion discussion topic for the original entry at https://www.skcript.com/svr/cli-pr-pull-request-command-line-github/