Git · Maintenance

git count-objects -v

Shows object counts, pack size and garbage.

Syntax
git count-objects -v

Example

Example
git count-objects -v

More in this group

git filter-repo git fsck --lost-found git gc git lfs git maintenance git prune git reflog expire git repack

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