https://github.com/rdsq/open-git-remote-cli
CLI that opens git remote URLs in the browser
https://github.com/rdsq/open-git-remote-cli
cli git javascript typescript
Last synced: 9 months ago
JSON representation
CLI that opens git remote URLs in the browser
- Host: GitHub
- URL: https://github.com/rdsq/open-git-remote-cli
- Owner: rdsq
- License: mit
- Created: 2024-11-10T23:07:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-07T13:15:45.000Z (about 1 year ago)
- Last Synced: 2025-08-09T12:45:36.809Z (11 months ago)
- Topics: cli, git, javascript, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/open-git-remote
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Git Remote CLI
Open Git Remote is a CLI that opens git remotes in the browser (obviously)
## Installation
Install [it](https://www.npmjs.com/package/open-git-remote) using npm
```sh
npm i -g open-git-remote
```
Or from source
```sh
git clone https://github.com/rdsq/open-git-remote-cli.git
cd open-git-remote-cli
npm i
npm i . -g
```
Or with no installation at all
```sh
npx open-git-remote
```
## Usage
Open the current repo remote
```sh
open-git-remote
```
Open remote from a dir
```sh
open-git-remote ./my-repo
```
Open specific remote
```sh
open-git-remote . origin
```
Also check out the [`open-git-remote`](https://github.com/rdsq/open-git-remote-vscode) VS Code Extension