git-browse(1)

git-browse1

Usage

git-browse [remote_name] [file_name] [line_1] [line_2]

Overview

Opens the current git repository website in your default web browser.

Options

<remote_name>

The name of the remote you wish to browse to. Defaults to the first remote if not specified.

<file_name>

The name of the file you wish to browse to.

<line_1>

The line number of the file you wish to browse to.

<line_2>

The line range (from

Examples

$ git browse

$ git browse upstream

$ git browse upstream bin/git-browse

$ git browse upstream bin/git-browse 42

$ git browse upstream bin/git-browse 1 42

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Written by Mark Pitman <https://github.com/mapitman>

Reporting bugs

<https://github.com/tj/git-extras/issues>

From git-extras 7.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.