Git · Inspection

git count-objects

Reports loose object counts and repository size.

Syntax
git count-objects -v

Example

Example
git count-objects -v

More in this group

git blame -L git cat-file git diff --check git diff --stat git diff --word-diff git for-each-ref git fsck git hash-object

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course