Documentation / git-count-objects.txton commit Merge branch 'jm/api-strbuf-doc' into maint (0196a60)
   1git-count-objects(1)
   2====================
   3
   4NAME
   5----
   6git-count-objects - Count unpacked number of objects and their disk consumption
   7
   8SYNOPSIS
   9--------
  10[verse]
  11'git count-objects' [-v] [-H | --human-readable]
  12
  13DESCRIPTION
  14-----------
  15This counts the number of unpacked object files and disk space consumed by
  16them, to help you decide when it is a good time to repack.
  17
  18
  19OPTIONS
  20-------
  21-v::
  22--verbose::
  23        Report in more detail:
  24+
  25count: the number of loose objects
  26+
  27size: disk space consumed by loose objects, in KiB (unless -H is specified)
  28+
  29in-pack: the number of in-pack objects
  30+
  31size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
  32+
  33prune-packable: the number of loose objects that are also present in
  34the packs. These objects could be pruned using `git prune-packed`.
  35+
  36garbage: the number of files in object database that are neither valid loose
  37objects nor valid packs
  38+
  39size-garbage: disk space consumed by garbage files, in KiB (unless -H is
  40specified)
  41
  42-H::
  43--human-readable::
  44
  45Print sizes in human readable format
  46
  47GIT
  48---
  49Part of the linkgit:git[1] suite