发布于 5年前 Git diff 比较版本差异 Git diff: 工作区和暂存区比较。 Git diff –cached: 暂存区和HEAD比较。 Git diff HEAD: 工作区和HEAD比较。