- Verify if your problem is already solved on the latest version
- Search for open issues before opening a new one
- Specify what version you're using
gh --version
- Print the output of
npm list -g --depth=0 | grep gh
- Try the command that failed with
--verbose
to print debugging messages - Report the exit code of the gh process:
echo $?
after termination
- Remove the installed version from NPM:
[sudo] npm rm -g gh
- Fork the project and clone it locally:
git clone git@github.com:<your-username>/gh.git
- Go to the package folder and create a symlink:
[sudo] npm link
Contribute new commands to this project by copying and editing the content of Hello World example.
NodeGH source code reports
Please verify the following reports when contributing code.
Report is generated for the master branch by a Travis CI hook.
The static analysis (plato) has historical data. If you want to retrieve them, the better approach is to clone node-gh/reports.git inside your gh repo so you can compare to see what your modifications does to the code base.
The reports are published to gh-pages from Travis with a private deploy key that only works for that repo (for security reasons) and is invoked by the Travis after_success hook ci-reports.sh and, also, only for the first job on a build (so that it only runs against the current stable node version) on the master branch of node-gh/gh.
Disclaimer: having a git repo inside another can get you a little confused when you forget about it.