Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/common/git-count-objects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# git count-objects

> Count the number of unpacked objects and their disk consumption.
> More information: <https://git-scm.com/docs/git-count-objects>.

- Count all objects and display the total disk usage:

`git count-objects`

- Display a count of all objects and their total disk usage, displaying sizes in human readable units:

`git count-objects --human-readable`

- Display more verbose information:

`git count-objects --verbose`

- Display more verbose information, displaying sizes in human readable units:

`git count-objects --human-readable --verbose`