An article exploring the migration of Git repositories from SHA-1 to the newer SHA-256 object format introduced in Git 2.42. The author outlines the basic migration steps using fast-export/fast-import but highlights a critical limitation: the process fails with submodules, especially third-party ones, severely limiting practical usability.
Background
Git has supported SHA-256 as an alternative object format since version 2.42 (released late 2023), addressing long-standing concerns about SHA-1 collision vulnerabilities. However, adoption remains limited due to compatibility issues with major platforms like GitHub.
- Source
- Lobsters
- Published
- Oct 8, 2026 at 06:00 PM
- Score
- 5.0 / 10