DOKK / manpages / debian 12 / git-extras / git-browse.1.en
GIT-BROWSE(1) Git Extras GIT-BROWSE(1)

git-browse -

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

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

<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

$ 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

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

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

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

October 2022