GIT-PRUNE-PACKED(1)
β¨ NAME β¨
okay bestie, welcome to GIT-PRUNE-PACKED(1) from the Git Manual π
β this one is literally about removing extra objects that are already in pack files. no cap.
π SYNOPSIS π
git prune-packed [-n | --dry-run] [-q | --quiet]
π¦ DESCRIPTION π¦
so this program searches the $GIT_OBJECT_DIRECTORY for all objects that currently exist in a pack file as well as in the independent object directories. yes, both places. π
all such extra objects are removed. periodt. π
a pack is a collection of objects, individually compressed, with delta compression applied, stored in a single file, with an associated index file. itβs giving βorganized iconβ β¨
packs are used to reduce the load on mirror systems, backup engines, disk storage, etc. tiny file, big efficiency energy. π«Ά
πΈ OPTIONS πΈ
-n,--dry-runβ bestie, this is your preview mode: it doesnβt actually remove any objects, it only shows the ones that would have been removed. π-q,--quietβ this one squelches the progress indicator, so the progress chatter goes quiet. π€«
π SEE ALSO π
π GIT π
part of the git(1) suite. obviously. β¨
mwah π β source/version: Git 2.56.0, dated 2026-09-27. π
π¦ where this page comes from
- arch rolling: git 2.56.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms