@canpolatM to GitEnglish • 9 months agoDo we think of git commits as diffs, snapshots, and/or histories?jvns.camessage-square7arrow-up19arrow-down10
arrow-up19arrow-down1external-linkDo we think of git commits as diffs, snapshots, and/or histories?jvns.ca@canpolatM to GitEnglish • 9 months agomessage-square7
minus-square@[email protected]linkfedilink6•9 months agoWho we? I think of them as snapshots organized in a directed acyclic graph (DAG). Diff is only a viewing option, or an optional compression implementation detail in packed history files.
minus-squareTechNom (nobody)linkEnglish2•9 months ago Diff is only a viewing option It isn’t. Git uses 3-way diff/merge algorithm quite liberally behind the scenes.
Who we?
I think of them as snapshots organized in a directed acyclic graph (DAG).
Diff is only a viewing option, or an optional compression implementation detail in packed history files.
It isn’t. Git uses 3-way diff/merge algorithm quite liberally behind the scenes.