summaryrefslogtreecommitdiffstats
path: root/git-reflog.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-reflog.txt')
-rw-r--r--git-reflog.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-reflog.txt b/git-reflog.txt
index ec64cbff4..a929c5298 100644
--- a/git-reflog.txt
+++ b/git-reflog.txt
@@ -10,6 +10,7 @@ SYNOPSIS
--------
[verse]
'git reflog' [show] [<log-options>] [<ref>]
+'git reflog list'
'git reflog expire' [--expire=<time>] [--expire-unreachable=<time>]
[--rewrite] [--updateref] [--stale-fix]
[--dry-run | -n] [--verbose] [--all [--single-worktree] | <refs>...]
@@ -39,6 +40,8 @@ actions, and in addition the `HEAD` reflog records branch switching.
`git reflog show` is an alias for `git log -g --abbrev-commit
--pretty=oneline`; see linkgit:git-log[1] for more information.
+The "list" subcommand lists all refs which have a corresponding reflog.
+
The "expire" subcommand prunes older reflog entries. Entries older
than `expire` time, or entries older than `expire-unreachable` time
and not reachable from the current tip, are removed from the reflog.