3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
7 .\" Source: Git 2.47.0.rc0
10 .TH "GIT\-REFS" "1" "2024-09-25" "Git 2\&.47\&.0\&.rc0" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-refs \- Low\-level access to refs
35 \fIgit refs migrate\fR \-\-ref\-format=<format> [\-\-dry\-run]
36 \fIgit refs verify\fR [\-\-strict] [\-\-verbose]
40 This command provides low\-level access to refs\&.
45 Migrate ref store between different formats\&.
50 Verify reference database consistency\&.
54 The following options are specific to \fIgit refs migrate\fR:
56 \-\-ref\-format=<format>
58 The ref format to migrate the ref store to\&. Can be one of:
69 for loose files with packed\-refs\&. This is the default\&.
81 for the reftable format\&. This format is experimental and its internals are subject to change\&.
87 Perform the migration, but do not modify the repository\&. The migrated refs will be written into a separate directory that can be inspected separately\&. The name of the directory will be reported on stdout\&. This can be used to double check that the migration works as expected before performing the actual migration\&.
90 The following options are specific to \fIgit refs verify\fR:
94 Enable stricter error checking\&. This will cause warnings to be reported as errors\&. See
100 When verifying the reference database consistency, be chatty\&.
102 .SH "KNOWN LIMITATIONS"
104 The ref format migration has several known limitations in its current form:
114 It is not possible to migrate repositories that have reflogs\&.
125 It is not possible to migrate repositories that have worktrees\&.
136 There is no way to block concurrent writes to the repository during an ongoing migration\&. Concurrent writes can lead to an inconsistent migrated state\&. Users are expected to block writes on a higher level\&. If your repository is registered for scheduled maintenance, it is recommended to unregister it first with git\-maintenance(1)\&.
139 These limitations may eventually be lifted\&.
142 Part of the \fBgit\fR(1) suite