News for hackers. Stuff that matters.
Re:Commits are snapshots not diffs (2020) by tomtomtom777 on Thursday April 08, 2021 @02:53PM (#26742356)
Consider a small commit with spelling error. If I turn this into a patch and apply it to another branch it will be a different commit even it will be the same patch.

As such, the concept of a "commit" in Git refers to a complete state of everything; a snapshot.

There are no comments on this comment yet.