Skip to content

Git sub-command to open the current repository website (GitHub, GitLab, VSTS, ...) in your browser.

License

Notifications You must be signed in to change notification settings

vandycknick/git-browse

Repository files navigation

git-browse

Build Status NuGet Package

Git sub-command to open the current repository website (GitHub, GitLab, VSTS, ...) in your browser.

Usage

The tool works as a git sub-command so you can just type git browse anywhere in your terminal to try it out.

git browse --help will show you usage information.

Usage: git-browse [options]

Options:
  --version      Show version information

Examples

$ git browse
opens https://[SOURCE_CONTROL_PROVIDER/[TRACKED_REMOTE_USER]/[CURRENT_REPO]/tree/[URRENT_BRANCH]

Supported platforms

This is a cross platform tool and thus should run on Linux, Windows, and Mac OSX. Although given I have limited resources the tool is only actively tested on the following platforms:

  • Windows
  • WSL (Ubuntu 18.04)
  • Ubuntu 18.04
  • Ubuntu 16.04

Installation

Download the 2.1.300 .NET Core SDK or newer. Once installed, running the following to install the application:

dotnet tool install --global git-browse

Or use the following when upgrading from a previous version:

dotnet tool update --global git-browse

You will need to perform the following steps when not running on windows:

Ubuntu 18.0

sudo apt install libcurl3

About

Git sub-command to open the current repository website (GitHub, GitLab, VSTS, ...) in your browser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published