4 ms·
That is, until DOGE decides to rewrite (git) history.
by glitchdout 2y ago
That is, until DOGE decides to rewrite (git) history.
- dataviz1000 2y ago> rewrite (git) history Is that possible? Every commit id includes the hash of the parent commit forming a chain.
- pfg_ 2y agoYes, 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.
- Doxin 2y agoAs 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.