summaryrefslogtreecommitdiff
path: root/Documentation/git-count-objects.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-count-objects.txt')
-rw-r--r--Documentation/git-count-objects.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/git-count-objects.txt b/Documentation/git-count-objects.txt
new file mode 100644
index 0000000000..23c80cea64
--- /dev/null
+++ b/Documentation/git-count-objects.txt
@@ -0,0 +1,31 @@
+git-count-objects(1)
+====================
+
+NAME
+----
+git-count-objects - Count unpacked number of objects and their disk consumption
+
+SYNOPSIS
+--------
+[verse]
+'git count-objects' [-v]
+
+DESCRIPTION
+-----------
+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.
+
+
+OPTIONS
+-------
+-v::
+--verbose::
+ 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`.
+
+GIT
+---
+Part of the linkgit:git[1] suite