从文档来看,它甚至不清楚是否输出了更多或更少的Unreachable项。
git fsck --unreachable --cache
"高速缓存";基本上是索引或暂存区的另一个同义词。
来自git help fsck
:
--cache
Consider any object recorded in the index also as a head node for
an unreachability trace.
参见。git diff --cached
,它显示了当前提交和暂存更改之间的差异,而不是当前提交和当前工作目录。