Fork me on GitHub

Node GH GitHub command line tools

Install via NPM

[sudo] npm install gh -g

You need NodeJS to do that.

Pull Requests

List open pulls requests for the current branch.

gh pr

Fetch pull request into a new branch.

gh pr 1

Submit a pull request.

gh pr --submit eduardolundgren
View more»

Issues

List open issues on the current repository.

gh is

Create a new issue on the current repository.

gh is "Node GH rocks!" "**Markdown** support"

Comment on an issue of the current repository.

gh is 1 --comment 'Node GH rocks!'
View more»

Notifications

Display the latest repository activities.

gh nt

Watch for any repository activity.

gh nt --watch
View more»

Repo

Open repository page in the browser.

gh re

List all private repositories.

gh re --list --type private

Create a new repository and clone it.

gh re --new foo --clone
View more»

Gists

Open your Gists in the browser.

gh gi

Create a Gist pasting the contents of your clipboard.

gh gi --new foo.js --paste

Fork a Gist.

gh gi --fork 5444883
View more»

Made with love by Eduardo Lundgren, Zeno Rocha, and Henrique Vicente.

Brought to you by Liferay