Skip to main content

Open a git repo in the browser from the terminal.

Project description

git-open

CI Status Code style: black Maintainability Downloads

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
  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.

Changelog

unreleased

v1.1.0

  • Upgraded dependencies
  • Updated readme to recommend the use of pipx over pipsi
  • Adds a "git open commit" sub-command
  • Adds a "git open branch" sub-command

v1.0.8

  • Updated dependencies

v1.0.7

  • Updated dependencies
  • Moves to the new repository

v1.0.6

  • Updated dependencies

v1.0.5

  • Deploy to pypi from travis

v1.0.4

  • Add a download badge from http://pepy.tech/project/git-open to the readme
  • Add a test that will ensure that the dependencies will be checked by snyk.io when versions are bumped by dependabot
  • Fixes an issue with opening public repositories

v1.0.3

  • Fix the build

v1.0.2

  • Fix the manifest.in

v1.0.1

  • Add a vulnerabilities checking to the CI pipeline (snyk.io)

v1.0.0

  • Add the package to pypi
  • Update the install readme

v0.0.3

  • Updated ci pipeline

v0.0.2

  • Update the install description

v0.0.1

  • Implemented tox testing
  • Created

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-open-1.1.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

git_open-1.1.0-py2.py3-none-any.whl (17.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file git-open-1.1.0.tar.gz.

File metadata

  • Download URL: git-open-1.1.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for git-open-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a2cd09f824e7e01cc275983089e80c3c04d4c9666004972ec4017d780cd7d9d7
MD5 1c056cc40989b94142eca6b39a9cf214
BLAKE2b-256 9901fc41f0fcb0a2b18ed29feeb387c478dd49e93033ff1d96c5182be0932fa2

See more details on using hashes here.

File details

Details for the file git_open-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: git_open-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for git_open-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d624d2a381ab2c2b18816a70c1b74dcfc4610bba1e4abb53ea6aee15a47c2967
MD5 ce493e1c8fb4af07a135137b32876ca7
BLAKE2b-256 ef70cc9d90b6bd014d89f14a6f0189b16712c37ff08d90ec0efc56536745bd9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page