uTools-Manuals/docs/git/git count-objects.html
2019-04-08 23:22:26 +08:00

1 line
2.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="c-markdown doc-markdown"><div class="doc-postil"><div class="c-markdown"><h2>命名</h2></div></div><div class="doc-postil"><div class="c-markdown"><p>git-count-objects  - 计算解包的对象数量及其磁盘消耗量</p></div></div><div class="doc-postil"><div class="c-markdown"><h2>概要</h2></div></div><div class="doc-postil"><div class="c-markdown"><pre class="prism-token token language-javascript">git count-objects [-v] [-H | --human-readable]</pre></div></div><div class="doc-postil"><div class="c-markdown"><h2>描述</h2></div></div><div class="doc-postil"><div class="c-markdown"><p>这会计算解包对象文件的数量以及它们所占用的磁盘空间,以帮助您决定何时重新打包。</p></div></div><div class="doc-postil"><div class="c-markdown"><h2>选项</h2></div></div><div class="doc-postil"><div class="c-markdown"><p>-v   --verbose</p></div></div><div class="doc-postil"><div class="c-markdown"><p>更详细的报告:</p></div></div><div class="doc-postil"><div class="c-markdown"><p>计数:松散物体的数量</p></div></div><div class="doc-postil"><div class="c-markdown"><p>大小松散对象消耗的磁盘空间以KiB为单位除非指定了-H</p></div></div><div class="doc-postil"><div class="c-markdown"><p>in-pack包装内物品的数量</p></div></div><div class="doc-postil"><div class="c-markdown"><p>size-pack包中使用的磁盘空间以KiB为单位除非指定-H</p></div></div><div class="doc-postil"><div class="c-markdown"><p>prune-packable包中也存在的松散对象的数量。这些对象可以使用修剪<code>git prune-packed</code></p></div></div><div class="doc-postil"><div class="c-markdown"><p>garbage对象数据库中的文件数量既不是有效的松散对象也不是有效的包</p></div></div><div class="doc-postil"><div class="c-markdown"><p>size-garbage由垃圾文件占用的磁盘空间在KiB中除非指定了-H</p></div></div><div class="doc-postil"><div class="c-markdown"><p>备用:备用对象数据库的绝对路径; 可能会出现多次每个路径一行。请注意如果路径包含不可打印的字符则它可能被双引号包围并且包含C风格的反斜杠转义序列。</p></div></div><div class="doc-postil"><div class="c-markdown"><p>-H   --human-readable</p></div></div></div>