Git --distributed-even-if-your-workflow-isnt
Topics ▾ Version ▾ git-count-objects last updated in 2.6.2


git count-objects [-v]


This counts the number of unpacked object files and disk space consumed by them, to help you decide when it is a good time to repack.



In addition to the number of loose objects and disk space consumed, it reports the number of in-pack objects, number of packs, disk space consumed by those packs, and number of objects that can be removed by running git prune-packed.


Part of the git(1) suite