最近,一组研究人员使用相同的SHA-1哈希生成了两个文件(https://shattered.it/).
由于Git将此哈希用于其内部存储,这种攻击在多大程度上会影响Git?
git sha1
我有一个 git repo,它有一些无效的文件夹和源代码提交和删除。我想改写历史git filter-repo。是否可以在重写时保持提交哈希不变。
git filter-repo
git git-filter-repo
git ×2
git-filter-repo ×1
sha1 ×1