Skip to content

Commit 87e2eaf

Browse files
committed
Beginings of a man page.
1 parent 5f05e05 commit 87e2eaf

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

man/man1/git-browse.1

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.\" Writing groff? `man 7 groff` and `info groff` are your friends.
2+
.TH "GIT\-BROWSE" "1" "2012-08-16" "git-browse 1.0" "Git Browse Manual"
3+
.\" ***** Formatting *****
4+
.nh \" disable hyphenation
5+
.ad l \" disable justifiction
6+
.\" ***** Content ****
7+
.SH "NAME"
8+
.sp
9+
.nf
10+
git-browse \- Interactively browse a file's Git history
11+
.SH "SYNOPSIS"
12+
\fIgit browse\fR [-h] [<commit>] <path>
13+
.fi
14+
.sp
15+
.SH "DESCRIPTION"
16+
.sp
17+
Browse the Git history of a single file. \fIgit-browse\fR is similar to \fBgit-blame\fR(1) but allows you to move between revisions interactively\&.
18+
.sp
19+
The commands for navigating around the file are based on \fBless\fR(1) and should therefore be familiar to most command line users. However, since only a subset of the \fBless\fR commands are currently supported and there are additional commands to move forwards and back through history it's worth glancing though the commands section below.
20+
.SH "OPTIONS"
21+
.PP
22+
\-h
23+
.RS 4
24+
Display a brief help message.
25+
.RE
26+
.PP
27+
<commit>
28+
.RS 4
29+
The commit to start from. Defaults to HEAD.
30+
.RE
31+
.PP
32+
<path>
33+
.RS 4
34+
The path to the file you want to examine. The file must be tracked by Git.
35+
.RE
36+
.SH "COMMANDS"
37+
.PP
38+
RETURN or DOWN or j or e
39+
.RS 4
40+
Move down one line.
41+
.RE
42+
.PP
43+
UP or k or y
44+
.RS 4
45+
Move up one line.
46+
.RE
47+
.PP
48+
PAGE-DOWN or SPACE or f or z
49+
.RS 4
50+
Move down by one screen.
51+
.RE
52+
.PP
53+
PAGE-UP or b or w
54+
.RS 4
55+
Move up by one screen.
56+
.RE
57+
.PP
58+
d
59+
.RS 4
60+
Move down half a screen.
61+
.RE
62+
.PP
63+
u
64+
.RS 4
65+
Move up half a screen.
66+
.RE
67+
.PP
68+
END or G or >
69+
.RS 4
70+
Move to the bottom of the file.
71+
.RE
72+
.PP
73+
HOME or G or <
74+
.RS 4
75+
move to the top of the file.
76+
.RE

0 commit comments

Comments
 (0)