Open a git repo in the browser from the terminal.
From the terminal type the following command to open the current repository in your browser.
$ 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
pip install git-open
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
This package was initially created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
GNU General Public License v3.0
See LICENSE to see the full text.