Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.19 KB

git-remote-open

Build Status

CLI helper to quickly open git remote origin url in a browser. Run git-remote-open from a git directory to open the origin remote's url in your default browser.

You can also pass in the directory you'd like to open as the first argument like git-remote-open ../some/other/folder

If you'd like, you can alias the command in your ~/.gitconfig file which would allow you to call git open from a project repo.

[alias]
open = "!git-remote-open"

Installation

This package is not pushed to crates.io, but you can install it directly from source by running:

cargo install --force git-remote-open --git https://github.com/CoffeeAndCode/git-remote-open

Development

The project uses clippy for linting. It will also use rustfmt to format all Rust files.

You can run bin/lint with a recent version of Rust to run the same checks the CI server will run.

Run cargo test to run the project's unit and integration tests.