canpolat@programming.devM to Git@programming.devEnglish · 6 months agoDo we think of git commits as diffs, snapshots, and/or histories?jvns.caexternal-linkmessage-square7fedilinkarrow-up18arrow-down10cross-posted to: hackernews@derp.foo
arrow-up18arrow-down1external-linkDo we think of git commits as diffs, snapshots, and/or histories?jvns.cacanpolat@programming.devM to Git@programming.devEnglish · 6 months agomessage-square7fedilinkcross-posted to: hackernews@derp.foo
minus-squareKissaki@programming.devlinkfedilinkEnglisharrow-up1·edit-26 months agoDepends on context. Most of the interfacing is change based. But calling that diff is misleading.
minus-squareTechNom (nobody)@programming.devlinkfedilinkEnglisharrow-up1·edit-26 months ago But calling that doff is misleading. Git actually uses diffs behind the scenes a lot - 3-way diffs/merges to be more accurate. Merging, rebasing, cherry picking and even reverting are all 3-way diff-merges.
Depends on context.
Most of the interfacing is change based. But calling that diff is misleading.
Git actually uses diffs behind the scenes a lot - 3-way diffs/merges to be more accurate. Merging, rebasing, cherry picking and even reverting are all 3-way diff-merges.