6 git-refs - Low-level access to refs
12 'git refs migrate' --ref-format=<format> [--dry-run]
17 This command provides low-level access to refs.
23 Migrate ref store between different formats.
28 The following options are specific to 'git refs migrate':
30 --ref-format=<format>::
31 The ref format to migrate the ref store to. Can be one of:
33 include::ref-storage-format.txt[]
36 Perform the migration, but do not modify the repository. The migrated
37 refs will be written into a separate directory that can be inspected
38 separately. The name of the directory will be reported on stdout. This
39 can be used to double check that the migration works as expected before
40 performing the actual migration.
45 The ref format migration has several known limitations in its current form:
47 * It is not possible to migrate repositories that have reflogs.
49 * It is not possible to migrate repositories that have worktrees.
51 * There is no way to block concurrent writes to the repository during an
52 ongoing migration. Concurrent writes can lead to an inconsistent migrated
53 state. Users are expected to block writes on a higher level. If your
54 repository is registered for scheduled maintenance, it is recommended to
55 unregister it first with git-maintenance(1).
57 These limitations may eventually be lifted.
61 Part of the linkgit:git[1] suite