commit b1290c0c60618341880dbd6fc0b36a782469d61a from: Stefan Sperling via: Thomas Adam date: Fri Jan 24 22:02:34 2025 UTC change references to git-repack to gotadmin cleanup and explain more details commit - a293867f37102188af14fb9ac7ee0075a04534fe commit + b1290c0c60618341880dbd6fc0b36a782469d61a 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