Git/GitHub tool

Maintainers

Details

github.com/peterrehm/gh

Source

Issues

Installs: 36

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Open Issues: 0

pkg:composer/peterrehm/gh

v1.0.1 2017-12-01 08:52 UTC

This package is auto-updated.

Last update: 2025-10-04 23:48:45 UTC


README

This tool aims to provide support for common git/GitHub functionality and evolves from being a simple mergetool to provide handy shortcuts to frequently used commands.

gh expects an composer.json with a valid name in the git root directory. If you do not have a composer.json and you are executing GitHub related commands like the merge command you need to specify the username and the repository.

gh also expects by convention a remote with the organization name. If such does not exist gh creates one when a command needs it.

Start with

./gh configure

to setup your GitHub token.

Afterwards use ./gh to get an overview over the available functions.

Installation

gh can be installed via composer.

    composer global require 'peterrehm/gh=dev-master'

Make sure you have defined the following export path as well:

    export PATH=~/.composer/vendor/bin:$PATH

When using Zsh the export path in .zshrc must be updated. Also you should use the complete path instead of ~/.