Skip to content

Commit 0ba0140

Browse files
robertpjdaygitster
authored andcommitted
doc: add missing "-n" (dry-run) option to reflog man page
While the "git reflog" man page supports both "--dry-run" and "-n" for a dry run, the man page mentions only the former, not the latter. Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9752ad0 commit 0ba0140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-reflog.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ depending on the subcommand:
2020
'git reflog' ['show'] [log-options] [<ref>]
2121
'git reflog expire' [--expire=<time>] [--expire-unreachable=<time>]
2222
[--rewrite] [--updateref] [--stale-fix]
23-
[--dry-run] [--verbose] [--all | <refs>...]
23+
[--dry-run | -n] [--verbose] [--all | <refs>...]
2424
'git reflog delete' [--rewrite] [--updateref]
25-
[--dry-run] [--verbose] ref@\{specifier\}...
25+
[--dry-run | -n] [--verbose] ref@\{specifier\}...
2626
'git reflog exists' <ref>
2727

2828
Reference logs, or "reflogs", record when the tips of branches and

0 commit comments

Comments
 (0)