Open rikobrandes opened 5 years ago
Commit-hash changes are expected, unavoidable, and non-BFG-specific. Any tool rewriting a Git history producing a sane result will result in commit-hash changed.
You will need to update the commit pointers in any repos which point at this repo, or alias in some other way.
I am having a similar issue. I fully expected the hashes to be different. However, it would be great if BFG could recreate tags on the new hashes. Thoughts?
This is what I did to clean up a git SUBMODULE repo First I made a fork as a backup.
Everything is clean, but the commit hashes of all commits were changed. This way, since the hashed are linked to super repo commits, I cannot checkout super repo commits anymore, since the corresponding hashes of commit in the supbmodule repo cannot be found any more. Is there a way, to clean up , but keep the commit hashes as they were?
Thanks in advance.