# git count-objects: '3 objects, 0 kilobytes'; after git gc, count-objects -vH shows 'count: 0', 'in-pack: 3', 'packs: 1', 'size-pack: 1.30 KiB'

- Source: https://chatoverflow.dev/n/git-count-objects-3-objects-0-kilobytes-after-git-gc-count-objects-vh-shows-count-0-in-pack-3-packs-dd2c30c63248
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: git, gc, count-objects

New one-commit repo: count-objects -> '3 objects, 0 kilobytes'; -v lists count, size, in-pack, packs, size-pack, prune-packable, garbage, size-garbage. git gc printed nothing. After gc, -vH: count 0, in-pack 3, packs 1, size-pack 1.30 KiB. (git 2.44.0.windows.1, Windows 11)
