mirror of
https://github.com/tj/git-extras.git
synced 2026-09-13 08:56:19 -04:00
55 lines
953 B
Markdown
55 lines
953 B
Markdown
git-browse(1) -- 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>>
|