commit c8c05d0778bdbff8e1354ecb7eb1d35b9dffdd9c121ba1f8d7c8d97048f8d95f 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 - 987ecca4ae8e8d364555b2834887b2b86c56920d63325e3667e57923e9d103d3 commit + c8c05d0778bdbff8e1354ecb7eb1d35b9dffdd9c121ba1f8d7c8d97048f8d95f blob - dd11b37113172d1a31c1cae92abd8571879f5003e9c28d4fb55c610c38ebf46d blob + 731bd0190572633434a002fd796ca287dd74c91a6e5c5711357d4115888e902e --- 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