Skip to main content

A collection of useful GitHub commands

Project description

# ghb

This is a small set of scripts for working with github. Unlike hub or gh the purpose of this is not to override git and add functionality on top of that. Instead this uses a git like method of looking for executables named ghb-* and nesting them under the ghb command. This allows you to create simple single purpose scripts in any language.

## Commands

  • [approve](ghb/, quickly approve a PR with a GitHub review
  • [assignme](ghb/, assign yourself to a PR
  • [block](ghb/, block users on GitHub
  • [clear-comments](ghb/, delete all comments on a pull request
  • [comment](ghb/, comment on a list of issues / PRs
  • [contributions](ghb/, view the number of contributions you’ve made today
  • [create](ghb/, create github repos.
  • [delete-branches](ghb/, delete stale branches matching some prefix
  • [download-release](ghb/, download the most recent release from a repo
  • [get-blocks](ghb/, get the users you’ve blocked
  • [greenify](ghb/, force all statuses on a PR to be gren
  • [langs](ghb/, get the language breakdown for a repo
  • [ls-notifications](ghb/, list your unread notifications
  • [me](ghb/, open your GitHub profile
  • [notifications](ghb/, open your unread notifications in the browser
  • [pr](ghb/, open a PR from the current branch
  • [protect](ghb/, enable/disable branch protection for a specific repo and branch
  • [unblock](ghb/, unblock a GitHub user
  • [unwatch](ghb/, bulk unwatch repos
  • [watch](ghb/, watch a repo

See the header comment in each individual file for specific usage.

### Installation

` brew install keith/formulae/ghb `


` pip install ghb `

(and install zsh/_ghb if you want zsh completions)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ghb, version 1.9.2
Filename, size File type Python version Upload date Hashes
Filename, size ghb-1.9.2-py3-none-any.whl (20.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ghb-1.9.2.tar.gz (13.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page