|
|
|
|
|
by Lichtso
810 days ago
|
|
Yes and no. A local GIT repo can be changed (including its history) however you please.
But once you have shared it with others you can't take that back.
If you try to, then others will notice that the hashes mismatch and that their HEAD diffs uncleanly. I know the term is infamous here, but GIT is essentially a blockchain. Each commit has a hash, which is based on the hashes of previous commits, forming a linked list (+ some DAG branching). |
|
So it relies on a human noticing and acting upon it. People not noticing backdoors being merged into the project is kinda the source of this problem.