diff options
Diffstat (limited to 'man1/git-reflog.1')
-rw-r--r-- | man1/git-reflog.1 | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/man1/git-reflog.1 b/man1/git-reflog.1 index 4145e8edf..15712c649 100644 --- a/man1/git-reflog.1 +++ b/man1/git-reflog.1 @@ -2,12 +2,12 @@ .\" Title: git-reflog .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 10/27/2022 +.\" Date: 10/28/2022 .\" Manual: Git Manual -.\" Source: Git 2.38.1.236.g5af5e54106 +.\" Source: Git 2.38.1.280.g63bba4fdd8 .\" Language: English .\" -.TH "GIT\-REFLOG" "1" "10/27/2022" "Git 2\&.38\&.1\&.236\&.g5af5e5" "Git Manual" +.TH "GIT\-REFLOG" "1" "10/28/2022" "Git 2\&.38\&.1\&.280\&.g63bba4" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -32,18 +32,7 @@ git-reflog \- Manage reflog information .SH "SYNOPSIS" .sp .nf -\fIgit reflog\fR <subcommand> <options> -.fi -.sp -.SH "DESCRIPTION" -.sp -The command takes various subcommands, and different options depending on the subcommand: -.sp -.if n \{\ -.RS 4 -.\} -.nf -\fIgit reflog\fR [\fIshow\fR] [<log\-options>] [<ref>] +\fIgit reflog\fR [show] [<log\-options>] [<ref>] \fIgit reflog expire\fR [\-\-expire=<time>] [\-\-expire\-unreachable=<time>] [\-\-rewrite] [\-\-updateref] [\-\-stale\-fix] [\-\-dry\-run | \-n] [\-\-verbose] [\-\-all [\-\-single\-worktree] | <refs>\&...] @@ -51,14 +40,14 @@ The command takes various subcommands, and different options depending on the su [\-\-dry\-run | \-n] [\-\-verbose] <ref>@{<specifier>}\&... \fIgit reflog exists\fR <ref> .fi -.if n \{\ -.RE -.\} .sp +.SH "DESCRIPTION" +.sp +This command manages the information recorded in the reflogs\&. .sp Reference logs, or "reflogs", record when the tips of branches and other references were updated in the local repository\&. Reflogs are useful in various Git commands, to specify the old value of a reference\&. For example, \fBHEAD@{2}\fR means "where HEAD used to be two moves ago", \fBmaster@{one\&.week\&.ago}\fR means "where master used to point to one week ago in this local repository", and so on\&. See \fBgitrevisions\fR(7) for more details\&. .sp -This command manages the information recorded in the reflogs\&. +The command takes various subcommands, and different options depending on the subcommand: .sp The "show" subcommand (which is also the default, in the absence of any subcommands) shows the log of the reference provided in the command\-line (or \fBHEAD\fR, by default)\&. The reflog covers all recent actions, and in addition the \fBHEAD\fR reflog records branch switching\&. \fBgit reflog show\fR is an alias for \fBgit log \-g \-\-abbrev\-commit \-\-pretty=oneline\fR; see \fBgit-log\fR(1) for more information\&. .sp |