cursed-git

1.5.3 • Public • Published

Cursed-git

build status npm version npm downloads

Cursed-git is a tool to easily search github (it's currently the only supported provider) for issues/pull requests and to check them out. This makes reviewing code changes much quicker than manually having to check out the website and copy/pasting the branch every time.

How to install

npm install --global cursed-git

Once installed, you can install updates with

npm update --global cursed-git

How it works

Start it from anywhere, but preferably in a git repository with:

cursed-git

On the first start, it will ask you for your github token, which you can create on https://github.com/settings/tokens. After that it will display the search results of the default query is:open is:pr which you can customize by pressing the s key.

If you want to know the details of the pull request, select one from the list and press enter. esc takes you back to the list and pressing c will checkout the selected pull request.

⚠️ Note A branch can only be checked out if the repository that it belongs to and the repository you started cursed-git in matches.

Development

Always do an npm install after updating your branch, to make sure you have the latest dependencies installed.

Tests

Tests can be run with

npm test

Publishing

Publishing to npmjs is as easy as

npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i cursed-git

Weekly Downloads

1

Version

1.5.3

License

ISC

Last publish

Collaborators

  • pascaldevink