1GIT-BROWSE(1) Git Extras GIT-BROWSE(1)
2
3
4
6 git-browse -
7
9 git-browse [remote_name] [file_name] [line_1] [line_2]
10
12 Opens the current git repository website in your default web browser.
13
15 <remote_name>
16
17 The name of the remote you wish to browse to. Defaults to the first re‐
18 mote if not specified.
19
20 <file_name>
21
22 The name of the file you wish to browse to.
23
24 <line_1>
25
26 The line number of the file you wish to browse to.
27
28 <line_2>
29
30 The line range (from <line_1> to <line_2>) of the file you wish to
31 browse to.
32
34 $ git browse
35
36 $ git browse upstream
37
38 $ git browse upstream bin/git-browse
39
40 $ git browse upstream bin/git-browse 42
41
42 $ git browse upstream bin/git-browse 1 42
43
45 Written by Mark Pitman <https://github.com/mapitman>
46
48 <https://github.com/tj/git-extras/issues>
49
51 <https://github.com/tj/git-extras>
52
53
54
55 June 2022 GIT-BROWSE(1)