From d637fabf0742f34fa9cd8fefc0d16b17781eb157 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 7 Jan 2021 16:35:09 -0500 Subject: [PATCH 1/3] git-count-objects: add page --- pages/common/git-count-objects.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/git-count-objects.md diff --git a/pages/common/git-count-objects.md b/pages/common/git-count-objects.md new file mode 100644 index 00000000000000..05cc17c1c1b7b0 --- /dev/null +++ b/pages/common/git-count-objects.md @@ -0,0 +1,20 @@ +# git count-objects + +> Count unpacked number of objects and their disk consumption. +> More information: . + +- Display count of all objects and their disk usage: + +`git count-objects` + +- Display count of all objects and their disk usage, displaying sizes in human readable units: + +`git count-objects -H` + +- Display more verbose information: + +`git count-objects -v` + +- Display more verbose information, displaying size in human readable units: + +`git count-objects -v -H` From 88c246e863c5eece2fa06238584ed78c16dec79f Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 7 Jan 2021 17:39:20 -0500 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Starbeamrainbowlabs --- pages/common/git-count-objects.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/git-count-objects.md b/pages/common/git-count-objects.md index 05cc17c1c1b7b0..6da82bc8f0a0f7 100644 --- a/pages/common/git-count-objects.md +++ b/pages/common/git-count-objects.md @@ -1,13 +1,13 @@ # git count-objects -> Count unpacked number of objects and their disk consumption. +> Count the number of unpacked objects and their disk consumption. > More information: . -- Display count of all objects and their disk usage: +- Count all objects and display the total disk usage: `git count-objects` -- Display count of all objects and their disk usage, displaying sizes in human readable units: +- Display a count of all objects and their total disk usage, displaying sizes in human readable units: `git count-objects -H` @@ -15,6 +15,6 @@ `git count-objects -v` -- Display more verbose information, displaying size in human readable units: +- Display more verbose information, displaying sizes in human readable units: `git count-objects -v -H` From 3dec8db14b51c3a578d8292dbaeea685829e6479 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Fri, 8 Jan 2021 07:16:11 -0500 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Axel Navarro --- pages/common/git-count-objects.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/git-count-objects.md b/pages/common/git-count-objects.md index 6da82bc8f0a0f7..9045e564209c07 100644 --- a/pages/common/git-count-objects.md +++ b/pages/common/git-count-objects.md @@ -9,12 +9,12 @@ - Display a count of all objects and their total disk usage, displaying sizes in human readable units: -`git count-objects -H` +`git count-objects --human-readable` - Display more verbose information: -`git count-objects -v` +`git count-objects --verbose` - Display more verbose information, displaying sizes in human readable units: -`git count-objects -v -H` +`git count-objects --human-readable --verbose`