gr-bin 0.1.0

Interact with remote repositories like you interact with git
Documentation

gr

Interact with remote repositories like you interact with git

Features

  • Login with Github, GitLab (cloud or self-hosted) or Bitbucket
  • Create new PRs with only a title
  • Read and list existing PRs
  • Approve, merge and decline PRs
  • All with git integration (pull, branch change)

All from the terminal!

Installation

You can install with cargo:

cargo install gr-bin

Or faster, with cargo-binstall:

cargo binstall gr-bin

Usage

gr is similar to git, that it looks at your current directory, and reads the information from git. To start, move to a local git repo, and login to the remote:

cd /path/to/repo
gr login

Create pull request on current branch:

gr pr create -m "PR title"

Get information about the open PRs:

gr pr list

Merge the PR on the current branch:

gr pr merge --delete

For more information, print the help with gr --help.