Julia Evans on Nostr: i think there's something people find confusing about commits in git but I haven't ...
i think there's something people find confusing about commits in git but I haven't worked out what it is yet
it feels related to the fact that commits in git are used in 3 different ways:
- a diff from the previous commit (git show COMMIT)
- a snapshot of the current state (git checkout COMMIT)
- a history of every previous commit (git log COMMIT)
but it seems like there's more to it than that
it feels related to the fact that commits in git are used in 3 different ways:
- a diff from the previous commit (git show COMMIT)
- a snapshot of the current state (git checkout COMMIT)
- a history of every previous commit (git log COMMIT)
but it seems like there's more to it than that