Open a git repo in the browser from the terminal.
Project description
git-open
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.
Changelog
unreleased
v1.2.2
- Bumps dependencies
- Fixes the issue with
git+ssh://
in remotes https://github.com/cfarvidson/git-open/pull/267
v1.2.1
- Bumps dependencies
v1.2.0
- Adds "git open compare" command
v1.1.2
- Upgraded dependencies
v1.1.1
- Fixes a bug when custom ports are used in the remote
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
Release history Release notifications | RSS feed
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.2.2.tar.gz
(27.7 kB
view details)
Built Distribution
File details
Details for the file git-open-1.2.2.tar.gz
.
File metadata
- Download URL: git-open-1.2.2.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cafebf056cacf5b93587bfc9bfde82d38475ad58ab398147c4a20c33f518ab89 |
|
MD5 | c37f081edb1215a9ee2109bd04dbd2a5 |
|
BLAKE2b-256 | ca7149e788973f80eb03b29b0ed15f7716331bfc339ce5943a03a6809396f570 |
File details
Details for the file git_open-1.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: git_open-1.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672837ff12f837086fcba1b25c57a8647476fcb9bcf457d39934d30eb5a14cb4 |
|
MD5 | 18220a9fc843d33a68c5a77687e1a5ff |
|
BLAKE2b-256 | 1487928edf48617f2c94a441656bb8dbd7e5e5ab790b922fb4a7e778726d3192 |