commit 273078609f5d0a6626f98a64bf038f542fcf26dc from: Stefan Sperling date: Wed Jan 22 09:43:01 2025 UTC change references to git-repack to gotadmin cleanup and explain more details commit - 60bb069a167a52c43e3b770c45b37fd93e8a3c1f commit + 273078609f5d0a6626f98a64bf038f542fcf26dc blob - dbd5096b6fb2eb9f6253e0d0673a2a9e0d7aff47 blob + 72385745a21eb10a6eaf3ec6da928b7bbbaa0037 --- got/got.1 +++ got/got.1 @@ -483,8 +483,13 @@ and options. .Pp New changes will be stored in a separate pack file downloaded from the server. -Optionally, separate pack files stored in the repository can be combined with -.Xr git-repack 1 . +Over time, small pack files will accumulate as a result of repeatedly running +.Ic got fetch . +For best performance, multiple small pack files can be combined into a single +larger pack file with +.Ic gotadmin cleanup . +The number of pack files in the repository is displayed by +.Ic gotadmin info . .Pp By default, branch references in the .Dq refs/remotes/ @@ -646,7 +651,7 @@ are allowed. Only references are deleted. Any commit, tree, tag, and blob objects fetched from a remote repository will generally be stored in pack files and may be removed separately with -.Xr git-repack 1 +.Ic gotadmin cleanup and Git's garbage collector. .El .Tg co