Simple utility for fast open current repository in browser.
For installation you need to load latest version from Release page and download version for you platform.
Another way is usage go install
:
# Get latest version from CLI
VERSION=`curl -sSL https://api.github.com/repos/jtprogru/repo-opener/releases/latest -s | jq .name -r`
go install github.com/jtprogru/repo-opener@$VERSION
To use repo-opener
, simply run the following command in your terminal:
repo-opener
This will open the current Git repository's remote URL in your default web browser.
To make life easier, you can add an alias like this:
echo "alias rop=$(which repo-opener)" >> $HOME/.aliases
After which you will have the command rop
for running repo-opener
.
-version
: Print version and build information and exit.