3 ms·
It's a little unclear what you mean by "modify", so just to be clear here: you can't alter an existing commit. You can certainly fake any timestamp you want to
by phaemon 13y ago
It's a little unclear what you mean by "modify", so just to be clear here: you can't alter an existing commit.
You can certainly fake any timestamp you want to start with, or you can create a new set of commits with a different timestamp (which is what rebase does), but you can't change an existing commit - the hash would be wrong.
- Xylakant 13y ago>but you can't change an existing commit - the hash would be wrong. True - however as long as nobody ever saw that commit, nobody will know. So the only way a git log could ever constitute a proof would be that you immediately push to a tamper-proof audit system right after your commit.