# git-open
[![Test](https://github.com/cfarvidson/git-open/workflows/Test/badge.svg?branch=master)](https://github.com/cfarvidson/git-open/actions)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Maintainability](https://api.codeclimate.com/v1/badges/09be50f0293cfed0e89a/maintainability)](https://codeclimate.com/github/cfp2000/git-open/maintainability)
[![Downloads](http://pepy.tech/badge/git-open)](http://pepy.tech/project/git-open)
[![pypi](https://img.shields.io/pypi/v/git-open.svg)](https://pypi.python.org/pypi/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](https://github.com/pipxproject/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](https://github.com/audreyr/cookiecutter) and the
[audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template.
## License
GNU General Public License v3.0
See [LICENSE](LICENSE) to see the full text.
Changelog
=========
**unreleased**
v1.3.0
-----
- Adds the `actions` command
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](https://github.com/cfarvidson/git-open/issues/23) 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
Raw data
{
"_id": null,
"home_page": "https://github.com/cfp2000/git-open",
"name": "git-open",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "cfp@highball.se",
"keywords": "terminal,git,web",
"author": "",
"author_email": "cfp@highball.se",
"download_url": "https://files.pythonhosted.org/packages/49/46/6184b1a191acf1ca31da6cda8da04344d0ae55b17bb82432e4aa5333c5c6/git-open-1.3.0.tar.gz",
"platform": null,
"description": "# git-open\n\n[![Test](https://github.com/cfarvidson/git-open/workflows/Test/badge.svg?branch=master)](https://github.com/cfarvidson/git-open/actions)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![Maintainability](https://api.codeclimate.com/v1/badges/09be50f0293cfed0e89a/maintainability)](https://codeclimate.com/github/cfp2000/git-open/maintainability)\n[![Downloads](http://pepy.tech/badge/git-open)](http://pepy.tech/project/git-open)\n[![pypi](https://img.shields.io/pypi/v/git-open.svg)](https://pypi.python.org/pypi/git-open)\n\nOpen a git repo in the browser from the terminal.\n\n## Features\n\nFrom the terminal type the following command to open the current repository in your browser.\n\n### Usage\n\n```\n$ git-open --help\nUsage: git-open [OPTIONS] COMMAND [ARGS]...\n\n Open a git repo in the browser from the terminal.\n\n Running the command without any sub-command will open the main page of the\n repository.\n\nOptions:\n --help Show this message and exit.\n\nCommands:\n branch Open the current branch\n commit Open the current commit\n compare Open a compare view\n version Show the current git-open version\n```\n\n## Installation\n\n### Using pip\n\n pip install git-open\n\n### Using pipx (recommended)\n\n[pipx](https://github.com/pipxproject/pipx) is a great tool to install python tools globally.\n\nInstalling pipx on macOS:\n\n brew install pipx\n pipx ensurepath\n\nInstalling git-open using pipx:\n\n pipx install git-open\n\n## Credits\n\nThis package was initially created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the\n[audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template.\n\n## License\n\nGNU General Public License v3.0\n\nSee [LICENSE](LICENSE) to see the full text.\n\n\nChangelog\n=========\n\n**unreleased**\n\nv1.3.0\n-----\n- Adds the `actions` command\n\nv1.2.2\n-----\n- Bumps dependencies\n- Fixes the issue with `git+ssh://` in remotes <https://github.com/cfarvidson/git-open/pull/267>\n\nv1.2.1\n-----\n- Bumps dependencies\n\nv1.2.0\n-----\n- Adds \"git open compare\" command\n\nv1.1.2\n-----\n- Upgraded dependencies\n\nv1.1.1\n-----\n- Fixes a bug when custom ports are used in the remote\n\nv1.1.0\n-----\n- Upgraded dependencies\n- Updated readme to recommend the use of pipx over pipsi\n- Adds a \"git open commit\" sub-command\n- Adds a \"git open branch\" sub-command\n\nv1.0.8\n-----\n- Updated dependencies\n\nv1.0.7\n-----\n- Updated dependencies\n- Moves to the new repository\n\nv1.0.6\n-----\n- Updated dependencies\n\nv1.0.5\n-----\n- Deploy to pypi from travis\n\nv1.0.4\n-----\n- Add a download badge from http://pepy.tech/project/git-open to the readme\n- Add a test that will ensure that the dependencies will be checked by snyk.io\n when versions are bumped by dependabot\n- Fixes an [issue](https://github.com/cfarvidson/git-open/issues/23) with opening public repositories\n\nv1.0.3\n-----\n- Fix the build\n\nv1.0.2\n-----\n- Fix the manifest.in\n\nv1.0.1\n-----\n- Add a vulnerabilities checking to the CI pipeline (snyk.io)\n\nv1.0.0\n-----\n- Add the package to pypi\n- Update the install readme\n\nv0.0.3\n-----\n- Updated ci pipeline \n\nv0.0.2\n-----\n- Update the install description\n\nv0.0.1\n-----\n* Implemented tox testing\n* Created\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Open a git repo in the browser from the terminal.",
"version": "1.3.0",
"split_keywords": [
"terminal",
"git",
"web"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3fd41d97590e82cad75967b76e0904f7d3cf6f46b984e23555c1c2d726ca7e61",
"md5": "5760def8458b80be1b0615eda829933c",
"sha256": "5eba3563b9236514b5b0c609d8012b30b50ed36d5f23f577a466d47eeace368e"
},
"downloads": -1,
"filename": "git_open-1.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "5760def8458b80be1b0615eda829933c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 17824,
"upload_time": "2023-04-26T18:24:12",
"upload_time_iso_8601": "2023-04-26T18:24:12.169729Z",
"url": "https://files.pythonhosted.org/packages/3f/d4/1d97590e82cad75967b76e0904f7d3cf6f46b984e23555c1c2d726ca7e61/git_open-1.3.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "49466184b1a191acf1ca31da6cda8da04344d0ae55b17bb82432e4aa5333c5c6",
"md5": "125335cf316a8fc64a8d923f3736226e",
"sha256": "39143156bf9a6f70fbbb1703e1f59ae458b702f2c7deb6ddcf1db514f132dabd"
},
"downloads": -1,
"filename": "git-open-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "125335cf316a8fc64a8d923f3736226e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27774,
"upload_time": "2023-04-26T18:24:13",
"upload_time_iso_8601": "2023-04-26T18:24:13.351540Z",
"url": "https://files.pythonhosted.org/packages/49/46/6184b1a191acf1ca31da6cda8da04344d0ae55b17bb82432e4aa5333c5c6/git-open-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-26 18:24:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "cfp2000",
"github_project": "git-open",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "click",
"specs": [
[
"==",
"8.0.4"
]
]
},
{
"name": "sh",
"specs": [
[
"==",
"1.14.3"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
}
],
"lcname": "git-open"
}