@@ -8,16 +8,16 @@ git-reflog - Manage reflog information
8
8
9
9
SYNOPSIS
10
10
--------
11
- [verse ]
12
- ' git reflog' [show] [<log-options >] [<ref >]
13
- ' git reflog list'
14
- ' git reflog expire' [-- expire=<time >] [-- expire-unreachable=<time >]
11
+ [synopsis ]
12
+ git reflog [show] [<log-options >] [<ref >]
13
+ git reflog list
14
+ git reflog expire [-- expire=<time >] [-- expire-unreachable=<time >]
15
15
[-- rewrite] [-- updateref] [-- stale-fix]
16
16
[-- dry-run | -n] [-- verbose] [-- all [-- single-worktree] | <refs >... ]
17
- ' git reflog delete' [-- rewrite] [-- updateref]
17
+ git reflog delete [-- rewrite] [-- updateref]
18
18
[-- dry-run | -n] [-- verbose] <ref >@{<specifier >}...
19
- ' git reflog drop' [-- all [-- single-worktree] | <refs >... ]
20
- ' git reflog exists' <ref >
19
+ git reflog drop [-- all [-- single-worktree] | <refs >... ]
20
+ git reflog exists <ref >
21
21
22
22
DESCRIPTION
23
23
-----------
@@ -74,23 +74,23 @@ Options for `show`
74
74
Options for `expire`
75
75
~~~~~~~~~~~~~~~~~~~~
76
76
77
- -- all::
77
+ ` --all` ::
78
78
Process the reflogs of all references.
79
79
80
- -- single-worktree::
80
+ ` --single-worktree` ::
81
81
By default when `--all` is specified, reflogs from all working
82
82
trees are processed. This option limits the processing to reflogs
83
83
from the current working tree only.
84
84
85
- -- expire=<time >::
85
+ ` --expire=<time>` ::
86
86
Prune entries older than the specified time. If this option is
87
87
not specified, the expiration time is taken from the
88
88
configuration setting `gc.reflogExpire` , which in turn
89
89
defaults to 90 days. `--expire=all` prunes entries regardless
90
90
of their age; `--expire=never` turns off pruning of reachable
91
91
entries (but see `--expire-unreachable` ).
92
92
93
- -- expire-unreachable=<time >::
93
+ ` --expire-unreachable=<time>` ::
94
94
Prune entries older than `<time>` that are not reachable from
95
95
the current tip of the branch. If this option is not
96
96
specified, the expiration time is taken from the configuration
@@ -100,17 +100,17 @@ Options for `expire`
100
100
turns off early pruning of unreachable entries (but see
101
101
`--expire` ).
102
102
103
- -- updateref::
103
+ ` --updateref` ::
104
104
Update the reference to the value of the top reflog entry (i.e.
105
105
<ref >@\{ 0\} ) if the previous top entry was pruned. (This
106
106
option is ignored for symbolic references.)
107
107
108
- -- rewrite::
108
+ ` --rewrite` ::
109
109
If a reflog entry's predecessor is pruned, adjust its "old"
110
110
SHA-1 to be equal to the "new" SHA-1 field of the entry that
111
111
now precedes it.
112
112
113
- -- stale-fix::
113
+ ` --stale-fix` ::
114
114
Prune any reflog entries that point to "broken commits". A
115
115
broken commit is a commit that is not reachable from any of
116
116
the reference tips and that refers, directly or indirectly, to
@@ -121,12 +121,12 @@ has the same cost as 'git prune'. It is primarily intended to fix
121
121
corruption caused by garbage collecting using older versions of Git,
122
122
which didn't protect objects referred to by reflogs.
123
123
124
- -n ::
125
- -- dry-run::
124
+ `-n` ::
125
+ ` --dry-run` ::
126
126
Do not actually prune any entries; just show what would have
127
127
been pruned.
128
128
129
- -- verbose::
129
+ ` --verbose` ::
130
130
Print extra information on screen.
131
131
132
132
@@ -140,10 +140,10 @@ used with `expire`.
140
140
Options for `drop`
141
141
~~~~~~~~~~~~~~~~~~
142
142
143
- -- all::
143
+ ` --all` ::
144
144
Drop the reflogs of all references from all worktrees.
145
145
146
- -- single-worktree::
146
+ ` --single-worktree` ::
147
147
By default when `--all` is specified, reflogs from all working
148
148
trees are dropped. This option limits the processing to reflogs
149
149
from the current working tree only.
0 commit comments