File: git-browse.md

package info (click to toggle)
git-extras 7.4.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: sh: 4,312; python: 994; makefile: 146
file content (54 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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

&lt;remote_name&gt;

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

&lt;file_name&gt;

The name of the file you wish to browse to.

&lt;line_1&gt;

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

&lt;line_2&gt;

The line range (from &lt;line_1&gt; to &lt;line_2&gt;) 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 &lt;<https://github.com/mapitman>&gt;

## REPORTING BUGS

&lt;<https://github.com/tj/git-extras/issues>&gt;

## SEE ALSO

&lt;<https://github.com/tj/git-extras>&gt;