Skip to content

Instantly share code, notes, and snippets.

@jow-
jow- / pr.sh
Last active June 5, 2016 10:47
A script to merge PRs into local branches
#!/bin/bash
# Github repository, just the name/repo part, no .git suffix, no base url!
REPO="lede-project/source"
# Your repository token, generate this token at your profile page:
# - Navigate to https://github.com/settings/tokens
# - Click on "Generate new token"
# - Enter a description, e.g. "pr.sh" and pick the "repo" scope
# - Hit "Generate token"