Hacker News new | ask | show | jobs
by yaseer 2591 days ago
https://medium.com/girl-writes-code/git-is-a-directed-acycli...
1 comments

Unfortunately this article, like almost all others, is still wrong because it looks like commits get mutated when you rebase and the old commits disappear.

It is very important to understand that commits (in fact, all blobs) are immutable in git. You can only make new things. You can't modify old things. Git doesn't delete anything for a while either.