Skip to content

Cli helper to quickly open git remote origin url in a browser

License

Notifications You must be signed in to change notification settings

CoffeeAndCode/git-remote-open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Cli helper to quickly open git remote origin url in a browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published