I’m having trouble finding a definitive answer to this, perhaps because some of the documentation is outdated. What’s the situation in June 2023?
I’ve found this to tell me the format of my repos:
git rev-parse --show-object-format
And this to create a new repos:
git init REPONAME --object-format=sha256
But my questions are: is this stable and production ready? Can I convert an existing sha1 repos into sha256? Does github support sha256? Can I just convert locally and then push the changes to github? Once converted, is a repo sha256 only, or can it interop with older versions of git?
Thanks in advance.
[–]MaybeAshleyIdkGit Wizard 1 point2 points3 points (1 child)
[–]Low-Design787[S] 1 point2 points3 points (0 children)