Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.6 KB

README.md

File metadata and controls

61 lines (48 loc) · 1.6 KB

github-issues

giis a command line tool to CRUD github issues. It maps every issue to a branch issue-<issue-number>.

The tool helps you to create these branches, work on them, and create pull-requests.

Installation

brew tap cargomedia/cargomedia
brew install github-issues

Manually

Download current version https://github.com/cargomedia/github-issues/tags and unpack.

Dependencies:

Usage

usage: gi <command>

Commands:
  list [<username>|me]      Lists repo's issues (assigned to user if provided)
  open [<message>]          Open a new issue
  checkout <issue-number>   Check out branch for specified issue, create it if needed
  details                   Show current branch-issue's details
  browse                    Open current branch-issue in web browser
  comment [<message>]       Add comment to current branch-issue
  push                      Push current branch-issue to origin
  pull-request [<target>]   Create a pull-request with the current branch-issue

Workflow

Create a new issue:

gi open

Or start working on an existing issue:

gi checkout <issue-number>

..do some work, commit changes as usual (git commit)..

When your work is ready, push it to your origin and create a pull request:

gi push
gi pull-request

Before the pull request has been merged, you can push additional commits:

gi push