Blob


1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8"/>
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6 <link rel="stylesheet" href="mandoc.css" type="text/css" media="all"/>
7 <title>GOTADMIN(1)</title>
8 </head>
9 <!-- This is an automatically generated file. Do not edit.
10 Copyright (c) 2021 Stefan Sperling
12 Permission to use, copy, modify, and distribute this software for any
13 purpose with or without fee is hereby granted, provided that the above
14 copyright notice and this permission notice appear in all copies.
16 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
17 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
18 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
19 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 -->
24 <body>
25 <div class="head" role="doc-pageheader" aria-label="Manual header
26 line"><span class="head-ltitle">GOTADMIN(1)</span>
27 <span class="head-vol">General Commands Manual</span>
28 <span class="head-rtitle">GOTADMIN(1)</span></div>
29 <main class="manual-text">
30 <section class="Sh">
31 <h2 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h2>
32 <p class="Pp"><code class="Nm">gotadmin</code> &#x2014;
33 <span class="Nd" role="doc-subtitle">Game of Trees repository
34 administration</span></p>
35 </section>
36 <section class="Sh">
37 <h2 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h2>
38 <table class="Nm">
39 <tr>
40 <td><code class="Nm">gotadmin</code></td>
41 <td>[<code class="Fl">-hV</code>] <var class="Ar">command</var>
42 [<var class="Ar">arg ...</var>]</td>
43 </tr>
44 </table>
45 </section>
46 <section class="Sh">
47 <h2 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h2>
48 <p class="Pp"><code class="Nm">gotadmin</code> is the repository maintenance
49 tool for the <a class="Xr" aria-label="got, section 1">got(1)</a> version
50 control system.</p>
51 <p class="Pp"><a class="Xr" aria-label="got, section 1">got(1)</a> stores the
52 history of tracked files in a Git repository, as used by the Git version
53 control system. <code class="Nm">gotadmin</code> provides commands for
54 inspecting and manipulating the on-disk state of Git repositories. The
55 repository format is described in <a class="Xr" aria-label="git-repository,
56 section 5">git-repository(5)</a>.</p>
57 <p class="Pp"><code class="Nm">gotadmin</code> provides global and
58 command-specific options. Global options must precede the command name, and
59 are as follows:</p>
60 <dl class="Bl-tag">
61 <dt id="h"><a class="permalink" href="#h"><code class="Fl">-h</code></a></dt>
62 <dd>Display usage information and exit immediately.</dd>
63 <dt id="V"><a class="permalink" href="#V"><code class="Fl">-V</code></a>,
64 <code class="Fl">--version</code></dt>
65 <dd>Display program version and exit immediately.</dd>
66 </dl>
67 <p class="Pp">The commands for <code class="Nm">gotadmin</code> are as
68 follows:</p>
69 <dl class="Bl-tag">
70 <dt id="init"><a class="permalink" href="#init"><code class="Cm">init</code></a>
71 [<code class="Fl">-b</code> <var class="Ar">branch</var>]
72 <var class="Ar">repository-path</var></dt>
73 <dd>Create a new empty repository at the specified
74 <var class="Ar">repository-path</var>.
75 <p class="Pp">After <code class="Cm">gotadmin init</code>, the new
76 repository must be populated before <code class="Cm">got checkout</code>
77 can be used. The <code class="Cm">got import</code> command can be used
78 to populate the new repository with data from a local directory.
79 Alternatively, on a server running <a class="Xr" aria-label="gotd,
80 section 8">gotd(8)</a>, the new repository can be made available to
81 <a class="Xr" aria-label="got, section 1">got(1)</a> or
82 <a class="Xr" aria-label="git, section 1">git(1)</a> clients by adding
83 the repository to <a class="Xr" aria-label="gotd.conf, section
84 5">gotd.conf(5)</a> and restarting <a class="Xr" aria-label="gotd,
85 section 8">gotd(8)</a>. Clients may then clone the new repository from
86 the server, populate the cloned repository, and then populate the new
87 repository on the server via <code class="Cm">got send</code> or
88 <code class="Cm">git push</code>.</p>
89 <p class="Pp">The options for <code class="Cm">gotadmin init</code> are as
90 follows:</p>
91 <dl class="Bl-tag">
92 <dt id="b"><a class="permalink" href="#b"><code class="Fl">-b</code></a>
93 <var class="Ar">branch</var></dt>
94 <dd>Make the repository's HEAD reference point to the specified
95 <var class="Ar">branch</var> instead of the default branch
96 &#x201C;main&#x201D;.</dd>
97 </dl>
98 <p class="Pp">The <code class="Cm">gotadmin init</code> command is
99 equivalent to <code class="Cm">got init</code>.</p>
100 </dd>
101 <dt id="info"><a class="permalink" href="#info"><code class="Cm">info</code></a>
102 [<code class="Fl">-r</code> <var class="Ar">repository-path</var>]</dt>
103 <dd>Display information about a repository. This includes some configuration
104 settings from <a class="Xr" aria-label="got.conf, section
105 5">got.conf(5)</a>, and the number of objects stored in the repository, in
106 packed or loose form, as well as the current on-disk size of these
107 objects.
108 <p class="Pp">The options for <code class="Cm">gotadmin info</code> are as
109 follows:</p>
110 <dl class="Bl-tag">
111 <dt id="r"><a class="permalink" href="#r"><code class="Fl">-r</code></a>
112 <var class="Ar">repository-path</var></dt>
113 <dd>Use the repository at the specified path. If not specified, assume the
114 repository is located at or above the current working directory. If
115 this directory is a <a class="Xr" aria-label="got, section
116 1">got(1)</a> work tree, use the repository path associated with this
117 work tree.</dd>
118 </dl>
119 </dd>
120 <dt id="pack"><a class="permalink" href="#pack"><code class="Cm">pack</code></a>
121 [<code class="Fl">-aDq</code>] [<code class="Fl">-r</code>
122 <var class="Ar">repository-path</var>] [<code class="Fl">-x</code>
123 <var class="Ar">reference</var>] [<var class="Ar">reference ...</var>]</dt>
124 <dd>Generate a new pack file and a corresponding pack file index. By default,
125 add any loose objects which are reachable via any references to the
126 generated pack file.
127 <p class="Pp">If one or more <var class="Ar">reference</var> arguments is
128 specified, only add objects which are reachable via the specified
129 references. Each <var class="Ar">reference</var> argument may either
130 specify a specific reference or a reference namespace, in which case all
131 references within this namespace will be used.</p>
132 <p class="Pp"><code class="Cm">gotadmin pack</code> always ignores
133 references in the <span class="Pa">refs/got/</span> namespace,
134 effectively treating such references as if they did not refer to any
135 objects.</p>
136 <p class="Pp">The options for <code class="Cm">gotadmin pack</code> are as
137 follows:</p>
138 <dl class="Bl-tag">
139 <dt id="a"><a class="permalink" href="#a"><code class="Fl">-a</code></a></dt>
140 <dd>Add objects to the generated pack file even if they are already packed
141 in a different pack file. Unless this option is specified, only loose
142 objects will be added.</dd>
143 <dt id="D"><a class="permalink" href="#D"><code class="Fl">-D</code></a></dt>
144 <dd>Force the use of ref-delta representation for deltified objects. If
145 this option is not specified, offset-deltas will be used to represent
146 deltified objects.</dd>
147 <dt id="q"><a class="permalink" href="#q"><code class="Fl">-q</code></a></dt>
148 <dd>Suppress progress reporting output.</dd>
149 <dt id="r~2"><a class="permalink" href="#r~2"><code class="Fl">-r</code></a>
150 <var class="Ar">repository-path</var></dt>
151 <dd>Use the repository at the specified path. If not specified, assume the
152 repository is located at or above the current working directory. If
153 this directory is a <a class="Xr" aria-label="got, section
154 1">got(1)</a> work tree, use the repository path associated with this
155 work tree.</dd>
156 <dt id="x"><a class="permalink" href="#x"><code class="Fl">-x</code></a>
157 <var class="Ar">reference</var></dt>
158 <dd>Exclude objects reachable via the specified
159 <var class="Ar">reference</var> from the pack file. The
160 <var class="Ar">reference</var> argument may either specify a specific
161 reference or a reference namespace, in which case all references
162 within this namespace will be excluded. The <code class="Fl">-x</code>
163 option may be specified multiple times to build a list of references
164 to exclude.
165 <p class="Pp">Exclusion takes precedence over inclusion. If a reference
166 appears in both the included and excluded lists, it will be
167 excluded.</p>
168 </dd>
169 </dl>
170 </dd>
171 <dt id="ix"><a class="permalink" href="#indexpack"><code class="Cm" id="indexpack">indexpack</code></a>
172 <var class="Ar">packfile-path</var></dt>
173 <dd>
174 <div class="Bd Bd-indent"><code class="Li">(alias:
175 <code class="Cm">ix</code>)</code></div>
176 Create a pack index for the pack file at
177 <var class="Ar">packfile-path</var>.
178 <p class="Pp">A pack index is required for using the corresponding pack file
179 with <a class="Xr" aria-label="got, section 1">got(1)</a>. Usually, a
180 pack index will be created by commands such as <code class="Cm">gotadmin
181 pack</code> or <code class="Cm">got fetch</code> as part of regular
182 operation. The <code class="Cm">gotadmin indexpack</code> command may be
183 used to recover from a corrupt or missing index. A given pack file will
184 always yield the same bit-identical index.</p>
185 <p class="Pp">The provided <var class="Ar">packfile-path</var> must be
186 located within the <span class="Pa">objects/pack/</span> directory of
187 the repository and should end in <span class="Pa">.pack</span>. The
188 filename of the corresponding pack index is equivalent, except that it
189 ends in <span class="Pa">.idx</span>.</p>
190 </dd>
191 <dt id="ls"><a class="permalink" href="#listpack"><code class="Cm" id="listpack">listpack</code></a>
192 [<code class="Fl">-hs</code>] <var class="Ar">packfile-path</var></dt>
193 <dd>
194 <div class="Bd Bd-indent"><code class="Li">(alias:
195 <code class="Cm">ls</code>)</code></div>
196 List the contents of the pack file at <var class="Ar">packfile-path</var>.
197 <p class="Pp">Each object contained in the pack file will be displayed on a
198 single line. The information shown includes the object ID, object type,
199 object offset, and object size.</p>
200 <p class="Pp">If a packed object is deltified against another object, the
201 delta base will be shown as well. For offset deltas, the delta base is
202 identified via an offset into the pack file. For reference deltas, the
203 delta base is identified via an object ID.</p>
204 <p class="Pp">The provided <var class="Ar">packfile-path</var> must be
205 located within the <span class="Pa">objects/pack/</span> directory of
206 the repository and should end in <span class="Pa">.pack</span>. The
207 corresponding pack index must exist and can be created with
208 <code class="Cm">gotadmin indexpack</code> if it is missing.</p>
209 <p class="Pp">The options for <code class="Cm">gotadmin listpack</code> are
210 as follows:</p>
211 <dl class="Bl-tag">
212 <dt id="h~2"><a class="permalink" href="#h~2"><code class="Fl">-h</code></a></dt>
213 <dd>Show object sizes in human-readable form.</dd>
214 <dt id="s"><a class="permalink" href="#s"><code class="Fl">-s</code></a></dt>
215 <dd>Display statistics about the pack file after listing objects. This
216 includes the total number of objects stored in the pack file and a
217 break-down of the number of objects per object type.</dd>
218 </dl>
219 </dd>
220 <dt id="cl"><a class="permalink" href="#cleanup"><code class="Cm" id="cleanup">cleanup</code></a>
221 [<code class="Fl">-anpq</code>] [<code class="Fl">-r</code>
222 <var class="Ar">repository-path</var>]</dt>
223 <dd>
224 <div class="Bd Bd-indent"><code class="Li">(alias:
225 <code class="Cm">cl</code>)</code></div>
226 Purge unreferenced loose objects and redundant pack files from the
227 repository and display the amount of disk space which has been freed as a
228 result.
229 <p class="Pp">Unreferenced objects are present in the repository but cannot
230 be reached via any reference in the entire <span class="Pa">refs/</span>
231 namespace. Objects will usually become unreferenced as a result of
232 deleting branches, tags, or other references with <code class="Cm">got
233 branch -d</code>, <code class="Cm">got ref -d</code>, or
234 <code class="Cm">got fetch -X</code>.</p>
235 <p class="Pp">Loose objects are stored as individual files beneath the
236 repository's <span class="Pa">objects/</span> directory, spread across
237 256 sub-directories named after the 256 possible hexadecimal values of
238 the first byte of an object identifier.</p>
239 <p class="Pp">Packed objects are stored in pack files under
240 <span class="Pa">objects/pack/</span>.</p>
241 <p class="Pp">If redundant copies of packed objects exist in loose form,
242 such redundant copies will be purged. If all the objects of a pack file
243 are present in other pack files, the redundant pack file will be purged.
244 Pack files will usually become redundant as a result of repacking the
245 repository with <code class="Nm">gotadmin</code>
246 <code class="Cm">pack</code> <code class="Fl">-a</code>.</p>
247 <p class="Pp">References in the <span class="Pa">refs/got</span> namespace
248 may prevent objects from being purged. This includes references in the
249 <span class="Pa">refs/got/worktree</span> namespace created by
250 <code class="Cm">got checkout</code> and <code class="Cm">got
251 update</code>, as well as references in the
252 <span class="Pa">refs/got/backup</span> namespace created by
253 <code class="Cm">got rebase</code> and <code class="Cm">got
254 histedit</code>. <code class="Cm">gotadmin cleanup</code> will only
255 purge corresponding objects once such references have been deleted with
256 <code class="Cm">got rebase -X</code>, <code class="Cm">got histedit
257 -X</code>, or <code class="Cm">got ref -d</code>.</p>
258 <p class="Pp">The &#x201C;preciousObjects&#x201D; Git extension is intended
259 to prevent the removal of objects from a repository.
260 <code class="Cm">gotadmin cleanup</code> will refuse to operate on
261 repositories where this extension is active.</p>
262 <p class="Pp">For compatibility with Git, if a file with the extension
263 <span class="Pa">.keep</span> exists and corresponds to a pack file with
264 the extension <span class="Pa">.pack</span> then this pack file will not
265 be removed.</p>
266 <p class="Pp">Some Git repositories contain pack index files which lack a
267 corresponding pack file, which is an inconsistent repository state. In
268 such cases, <code class="Cm">gotadmin cleanup -p -n</code> will display
269 a list of affected pack index files. Whenever possible, the missing pack
270 files should be restored. If restoring missing pack files is not
271 possible, then affected pack index files can be removed with
272 <code class="Cm">gotadmin cleanup -p</code>.</p>
273 <p class="Pp">The options for <code class="Cm">gotadmin cleanup</code> are
274 as follows:</p>
275 <dl class="Bl-tag">
276 <dt id="a~2"><a class="permalink" href="#a~2"><code class="Fl">-a</code></a></dt>
277 <dd>Delete all redundant loose and packed objects. By default, objects
278 which are newer than an implementation-defined modification timestamp
279 are kept on disk to prevent race conditions with other commands that
280 add new objects to the repository while <code class="Cm">gotadmin
281 cleanup</code> is running.</dd>
282 <dt id="n"><a class="permalink" href="#n"><code class="Fl">-n</code></a></dt>
283 <dd>Display the usual progress output and summary information but do not
284 actually remove any files from disk.</dd>
285 <dt id="p"><a class="permalink" href="#p"><code class="Fl">-p</code></a></dt>
286 <dd>Instead of purging unreferenced loose objects and redundant pack
287 files, remove any pack index files which do not have a corresponding
288 pack file.</dd>
289 <dt id="q~2"><a class="permalink" href="#q~2"><code class="Fl">-q</code></a></dt>
290 <dd>Suppress progress reporting and disk space summary output.</dd>
291 <dt id="r~3"><a class="permalink" href="#r~3"><code class="Fl">-r</code></a>
292 <var class="Ar">repository-path</var></dt>
293 <dd>Use the repository at the specified path. If not specified, assume the
294 repository is located at or above the current working directory. If
295 this directory is a <a class="Xr" aria-label="got, section
296 1">got(1)</a> work tree, use the repository path associated with this
297 work tree.</dd>
298 </dl>
299 </dd>
300 <dt id="dump"><a class="permalink" href="#dump"><code class="Cm">dump</code></a>
301 [<code class="Fl">-q</code>] [<code class="Fl">-r</code>
302 <var class="Ar">repository-path</var>] [<code class="Fl">-x</code>
303 <var class="Ar">reference</var>] [<var class="Ar">reference ...</var>]</dt>
304 <dd>Dump the contents of the repository to standard output in Git bundle
305 format.
306 <p class="Pp">If one or more <var class="Ar">reference</var> arguments is
307 specified, only add objects which are reachable via the specified
308 references. Each <var class="Ar">reference</var> argument may either
309 specify a specific reference or a reference namespace, in which case all
310 references within this namespace will be used.</p>
311 <p class="Pp">The options for <code class="Nm">gotadmin</code>
312 <code class="Cm">dump</code> are as follows:</p>
313 <dl class="Bl-tag">
314 <dt id="q~3"><a class="permalink" href="#q~3"><code class="Fl">-q</code></a></dt>
315 <dd>Suppress progress reporting output.</dd>
316 <dt id="r~4"><a class="permalink" href="#r~4"><code class="Fl">-r</code></a>
317 <var class="Ar">repository-path</var></dt>
318 <dd>Use the repository at the specified path. If not specified, assume the
319 repository is located at or above the current working directory. If
320 this directory is a <a class="Xr" aria-label="got, section
321 1">got(1)</a> work tree, use the repository path associated with this
322 work tree.</dd>
323 <dt id="x~2"><a class="permalink" href="#x~2"><code class="Fl">-x</code></a>
324 <var class="Ar">reference</var></dt>
325 <dd>Exclude objects reachable via the specified
326 <var class="Ar">reference</var> from the bundle. The
327 <var class="Ar">reference</var> argument may either specify a specific
328 reference or a reference namespace, in which case all references
329 within this namespace will be excluded. The <code class="Fl">-x</code>
330 option may be specified multiple times to build a list of references
331 to exclude.
332 <p class="Pp">Exclusion takes precedence over inclusion. If a reference
333 appears in both the included and excluded lists, it will be
334 excluded.</p>
335 </dd>
336 </dl>
337 </dd>
338 <dt id="load"><a class="permalink" href="#load"><code class="Cm">load</code></a>
339 [<code class="Fl">-nq</code>] [<code class="Fl">-l</code>
340 <var class="Ar">bundle-path</var>] [<code class="Fl">-r</code>
341 <var class="Ar">repository-path</var>] [<var class="Ar">reference
342 ...</var>]</dt>
343 <dd>Read a Git bundle stream from standard input and load its data into a
344 repository.
345 <p class="Pp">If one or more <var class="Ar">reference</var> arguments are
346 provided then only load the specified references from the bundle.
347 Otherwise, all references will be loaded.</p>
348 <p class="Pp">The options for <code class="Cm">gotadmin load</code> are as
349 follows:</p>
350 <dl class="Bl-tag">
351 <dt id="l"><a class="permalink" href="#l"><code class="Fl">-l</code></a>
352 <var class="Ar">bundle-path</var></dt>
353 <dd>List references available for loading from the bundle at the specified
354 <var class="Ar">bundle-path</var> and exit immediately. If the
355 <code class="Fl">-l</code> option is specified then no
356 <var class="Ar">reference</var> arguments are allowed. The
357 <code class="Fl">-l</code> option is incompatible with the
358 <code class="Fl">-n</code> option.</dd>
359 <dt id="n~2"><a class="permalink" href="#n~2"><code class="Fl">-n</code></a></dt>
360 <dd>Attempt to load the bundle but don't install new packfile or update
361 any reference. Can be used to verify the integrity of the bundle.</dd>
362 <dt id="q~4"><a class="permalink" href="#q~4"><code class="Fl">-q</code></a></dt>
363 <dd>Suppress progress reporting output.</dd>
364 <dt id="r~5"><a class="permalink" href="#r~5"><code class="Fl">-r</code></a>
365 <var class="Ar">repository-path</var></dt>
366 <dd>Use the repository at the specified path. If not specified, assume the
367 repository is located at or above the current working directory. If
368 this directory is a <a class="Xr" aria-label="got, section
369 1">got(1)</a> work tree, use the repository path associated with this
370 work tree.</dd>
371 </dl>
372 </dd>
373 </dl>
374 </section>
375 <section class="Sh">
376 <h2 class="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
377 STATUS</a></h2>
378 <p class="Pp">The <code class="Nm">gotadmin</code> utility exits&#x00A0;0 on
379 success, and&#x00A0;&gt;0 if an error occurs.</p>
380 </section>
381 <section class="Sh">
382 <h2 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
383 ALSO</a></h2>
384 <p class="Pp"><a class="Xr" aria-label="got, section 1">got(1)</a>,
385 <a class="Xr" aria-label="tog, section 1">tog(1)</a>,
386 <a class="Xr" aria-label="git-repository, section 5">git-repository(5)</a>,
387 <a class="Xr" aria-label="got.conf, section 5">got.conf(5)</a></p>
388 </section>
389 <section class="Sh">
390 <h2 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h2>
391 <p class="Pp"><span class="An">Christian Weisgerber</span>
392 &lt;<a class="Mt" href="mailto:naddy@openbsd.org">naddy@openbsd.org</a>&gt;
393 <br/>
394 <span class="An">Josh Rickmar</span>
395 &lt;<a class="Mt" href="mailto:jrick@zettaport.com">jrick@zettaport.com</a>&gt;
396 <br/>
397 <span class="An">Klemens Nanni</span>
398 &lt;<a class="Mt" href="mailto:kn@openbsd.org">kn@openbsd.org</a>&gt;
399 <br/>
400 <span class="An">Omar Polo</span>
401 &lt;<a class="Mt" href="mailto:op@openbsd.org">op@openbsd.org</a>&gt;
402 <br/>
403 <span class="An">Ori Bernstein</span>
404 &lt;<a class="Mt" href="mailto:ori@openbsd.org">ori@openbsd.org</a>&gt;
405 <br/>
406 <span class="An">Stefan Sperling</span>
407 &lt;<a class="Mt" href="mailto:stsp@openbsd.org">stsp@openbsd.org</a>&gt;
408 <br/>
409 <span class="An">Tracey Emery</span>
410 &lt;<a class="Mt" href="mailto:tracey@traceyemery.net">tracey@traceyemery.net</a>&gt;</p>
411 </section>
412 <section class="Sh">
413 <h2 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h2>
414 <p class="Pp"><code class="Nm">gotadmin</code> is a work-in-progress and some
415 features remain to be implemented.</p>
416 <p class="Pp">At present, the user has to fall back on
417 <a class="Xr" aria-label="git, section 1">git(1)</a> to perform some tasks.
418 In particular:</p>
419 <ul class="Bl-bullet">
420 <li>Exporting data from repositories requires
421 <a class="Xr" aria-label="git-fast-export, section
422 1">git-fast-export(1)</a>.</li>
423 <li>Importing data into repositories requires
424 <a class="Xr" aria-label="git-fast-import, section
425 1">git-fast-import(1)</a>.</li>
426 </ul>
427 </section>
428 <section class="Sh">
429 <h2 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h2>
430 <p class="Pp">Disk space savings reported by <code class="Cm">gotadmin
431 cleanup</code> will be misleading if the repository contains object files
432 that were hard-linked from another repository. Such hard-links will be
433 created by certain <a class="Xr" aria-label="git, section 1">git(1)</a>
434 commands. By itself, <a class="Xr" aria-label="got, section 1">got(1)</a>
435 will never create hard-linked object files.</p>
436 </section>
437 </main>
438 <div class="foot" role="doc-pagefooter" aria-label="Manual footer
439 line"><span class="foot-left"></span><span class="foot-date">June 3,
440 2024</span> <span class="foot-os">OpenBSD 7.5</span></div>
441 </body>
442 </html>