logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-count-objects.1 (2651B)


  1. '\" t
  2. .\" Title: git-count-objects
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-COUNT\-OBJECTS" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-count-objects \- Count unpacked number of objects and their disk consumption
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit count\-objects\fR [\-v] [\-H | \-\-human\-readable]
  36. .fi
  37. .SH "DESCRIPTION"
  38. .sp
  39. 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\&.
  40. .SH "OPTIONS"
  41. .PP
  42. \-v, \-\-verbose
  43. .RS 4
  44. Provide more detailed reports:
  45. .sp
  46. count: the number of loose objects
  47. .sp
  48. size: disk space consumed by loose objects, in KiB (unless \-H is specified)
  49. .sp
  50. in\-pack: the number of in\-pack objects
  51. .sp
  52. size\-pack: disk space consumed by the packs, in KiB (unless \-H is specified)
  53. .sp
  54. prune\-packable: the number of loose objects that are also present in the packs\&. These objects could be pruned using
  55. \fBgit\fR
  56. \fBprune\-packed\fR\&.
  57. .sp
  58. garbage: the number of files in the object database that are neither valid loose objects nor valid packs
  59. .sp
  60. size\-garbage: disk space consumed by garbage files, in KiB (unless \-H is specified)
  61. .sp
  62. alternate: absolute path of alternate object databases; may appear multiple times, one line per path\&. Note that if the path contains non\-printable characters, it may be surrounded by double\-quotes and contain C\-style backslashed escape sequences\&.
  63. .RE
  64. .PP
  65. \-H, \-\-human\-readable
  66. .RS 4
  67. Print sizes in human readable format
  68. .RE
  69. .SH "GIT"
  70. .sp
  71. Part of the \fBgit\fR(1) suite