git-browse(1)
| GIT-BROWSE(1) | Git Extras | GIT-BROWSE(1) |
NAME
git-browse - View the web page for the current repository
SYNOPSIS
git-browse [REMOTE-NAME] [FILE-NAME] [LINE-1] [LINE-2]
DESCRIPTION
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 LINE-1 to LINE-2) of the file you wish to browse to.
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
AUTHOR
Written by Mark Pitman <https://github.com/mapitman>
REPORTING BUGS
<https://github.com/tj/git-extras/issues>
SEE ALSO
<https://github.com/tj/git-extras>
| March 2026 |
