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
Published at
2023-12-11 17:32:05Event JSON
{
"id": "433f5445c8657bd13b76e56bbe5c10a46c1c67941a65cd2a398015c4678a8552",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1702315925,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/111562976498748752",
"activitypub"
]
],
"content": "i think there's something people find confusing about commits in git but I haven't worked out what it is yet\n\nit feels related to the fact that commits in git are used in 3 different ways:\n\n- a diff from the previous commit (git show COMMIT)\n- a snapshot of the current state (git checkout COMMIT)\n- a history of every previous commit (git log COMMIT)\n\nbut it seems like there's more to it than that",
"sig": "9364496d9a0b1615eb5d946c1583d96ccdd9c4271ef1db8e32315307376f27b925f389463fac40e192a5c67a59fb06eeb373c68680a787eb9016aa504e7a5b8d"
}