Crates.io | cargo-git-open |
lib.rs | cargo-git-open |
version | 0.0.9 |
source | src |
created_at | 2023-07-09 16:48:41.762389 |
updated_at | 2023-10-27 13:22:38.677119 |
description | Open a git repository in a web browser |
homepage | https://github.com/jsgv/git-open |
repository | https://github.com/jsgv/git-open |
max_upload_size | |
id | 912142 |
size | 5,054,739 |
Open git repositories in a web browser with git open
.
This project was inspired by git-open.
# open repository in browser
git open
# open current commit
git open -c
# open current branch
git open -b
# open pull request for current branch
# local branch/head must match the pull request branch
# only supported for GitHub
git open --pr
# default remote name is `origin`
# can specify a different remote with `-r`
git open -r upstream
# print only
git open -p
You can clone the repo and install from source. This requires you to have rust installed.
git clone git@github.com:jsgv/git-open.git
cd git-open
make install
cargo install cargo-git-open
Or you can download one of the binaries from the releases section and place it
somewhere in your $PATH
.
I wanted to learn Rust.