:octocat: Tool to enhance your github workflow
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates May 8, 2018
extras new screenshot Dec 7, 2017
.eslintrc.json first commit Jul 19, 2017
.gitignore added the private repo possibility Jul 21, 2017
.travis.yml updated readme Jul 20, 2017
LICENSE first commit Jul 19, 2017
README.md Update README.md Jan 2, 2018
app.js updated readme Dec 7, 2017
cli.js updated readme Dec 7, 2017
commands.json big refactor Dec 7, 2017
package-lock.json updated package lock Dec 7, 2017
package.json v1.4.3 Dec 7, 2017
test.js big refactor Dec 7, 2017
yarn.lock big refactor Dec 7, 2017

README.md

git-gud

Tool to enhance your github workflow

Build Status npm npm License

Install

npm install -g git-gud

Usage

Highlights:

  • $ gud pr:
    • when you're in a project with dozens of pull requests it's tiresome to go to github and find which one is yours to check if something new is up, this will find the pull request number in which your current branch and open the page for you.
  • $ gud new pr:
    • it's a tedious job to go to github, create new pull request and find the branch you've been working on and compare it to develop, this will automate it for you based on the branch you're currently on.
Usage
$ gud <command>

 Examples
   $ gud pr             # opens current pull request page
   $ gud new pr         # opens new pull request page
   $ gud prs            # opens pull requests page
   $ gud open           # opens repo page
   $ gud issues         # opens issues page
   $ gud branches       # opens branches page   
   $ gud releases       # opens releases page
   $ gud wiki           # opens wiki page
   $ gud settings       # opens settings page
   $ gud contributors   # opens contributors page

   $ gud jira           # opens the JIRA ticket page
   $ gud jenkins        # opens the jenkins job page

Acessing private repositories

If you want to access private repositories or the API limit has been reached, all you need to do is to create a Personal API token (instructions here)

Give it the all the repo permissions and you're good to go!

Once you got it just export it in your bash/zsh/fish profile.

export GIT_GUD=<your-token-here>

Created by

Cesar Ferreira

License

MIT © Cesar Ferreira