Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Funnily enough, git doesn't actually allow you to 'change' any history.

It allows you to make new history, and the old history might get garbage collected eventually.



Event sourcing normally doesn't either. The only way is forward.


Until you get an event (or 104561 events) that corrupts the whole system and makes it really tricky to get back a working version.


It does (let you change history), but in a tamper evident way.


It's two different ways to see the same thing.

Basically, almost everything is immutable in git, apart from tags and branches: these are mutable pointers to immutable commits.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: