git_extra 1.0.0

An extra useful set of Git related commands.
Documentation

Git Extra Commands

An extra useful set of Git related commands. Requires that you have Git installed. Run git_extra to see the full list.

Command Description
browse Browse to the site hosting the origin for the current repo. Uses git remotes -vv to determine the correct site to open. Currently supports Git, GitLab, BitBucket or a self hosted Gitea site.

Installation

The current release is only tested on macOS.

Download and install with:

cargo install git_extra

You can configure the commands in your .gitconfig configuration by running git config --global --edit and adding:

[alias]
browse = !git_extra browse

This will allow you to type git browse to browse to the repository web page.