Skip to content

cfarvidson/git-open

Repository files navigation

git-open

Test Code style: black Maintainability Downloads pypi

Open a git repo in the browser from the terminal.

Features

From the terminal type the following command to open the current repository in your browser.

Usage

$ git-open --help
Usage: git-open [OPTIONS] COMMAND [ARGS]...

  Open a git repo in the browser from the terminal.

  Running the command without any sub-command will open the main page of the
  repository.

Options:
  --help  Show this message and exit.

Commands:
  branch   Open the current branch
  commit   Open the current commit
  compare  Open a compare view
  version  Show the current git-open version

Installation

Using pip

pip install git-open

Using pipx (recommended)

pipx is a great tool to install python tools globally.

Installing pipx on macOS:

brew install pipx
pipx ensurepath

Installing git-open using pipx:

pipx install git-open

Credits

This package was initially created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

License

GNU General Public License v3.0

See LICENSE to see the full text.