blob: aae385f1c455c6cbf106c6cd52633de2db813cf5 [file] [log] [blame]
David Ostrovskyeb245f22021-04-19 14:07:53 +02001= gerrit convert-ref-storage
2
3== NAME
4gerrit convert-ref-storage - Convert ref storage to reftable (experimental).
5
6A reftable file is a portable binary file format customized for reference storage.
7References are sorted, enabling linear scans, binary search lookup, and range scans.
8
9See also link:https://www.git-scm.com/docs/reftable for more details[reftable,role=external,window=_blank]
10
11== SYNOPSIS
12[verse]
13--
14_ssh_ -p <port> <host> _gerrit convert-ref-storage_
15 [--format <format>]
16 [--backup | -b]
17 [--reflogs | -r]
18 [--project <PROJECT> | -p <PROJECT>]
19--
20
21== DESCRIPTION
22Convert ref storage to reftable.
23
24== ACCESS
25Administrators
26
27== OPTIONS
28--project::
29-p::
30 Required; Name of the project for which the ref format should be changed.
31
32--format::
33 Format to convert to: `reftable` or `refdir`.
34 Default: reftable.
35
36--backup::
37-b::
38 Create backup of old ref storage format.
39 Default: true.
40
41--reflogs::
42-r::
43 Write reflogs to reftable.
44 Default: true.
45
46== EXAMPLES
47
48Convert ref format for project "core" to reftable:
49----
50$ ssh -p 29418 review.example.com gerrit convert-ref-format -p core
51----
52
53GERRIT
54------
55Part of link:index.html[Gerrit Code Review]
56
57SEARCHBOX
58---------