← Back to context

Comment by glitchdout

8 days ago

That is, until DOGE decides to rewrite (git) history.

> rewrite (git) history

Is that possible? Every commit id includes the hash of the parent commit forming a chain.

  • Yes, you modify the history uodating every commit after the changed one and then force push. Git has built in ommands to help. Anyone who has the repository cloned can tell if that happened because all the hashes will be different.

    • As long as your git hasn't garbage collected the old commits you can still them back. you can just create a branch pointing to the previous HEAD and the whole history will still be there.