737
you are viewing a single comment's thread
view the rest of the comments
[-] backhdlp@lemmy.blahaj.zone 95 points 1 year ago

I don't open source my code bc I don't understand git

[-] gratux@lemmy.blahaj.zone 20 points 1 year ago

it's just linked lists of commits (except when merging)

[-] xx3rawr@sh.itjust.works 14 points 1 year ago* (last edited 1 year ago)

I don't understand linked lists

[-] QuazarOmega@lemy.lol 20 points 1 year ago

In internet terms: It's just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with

[-] ibk@lemmy.world 5 points 1 year ago

I don't understand what a soyjak is.

[-] QuazarOmega@lemy.lol 20 points 1 year ago* (last edited 1 year ago)
[-] sheepishly@kbin.social 6 points 1 year ago

I still don't understand Git but I like this image

[-] gratux@lemmy.blahaj.zone 5 points 1 year ago

each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.

[-] Denvil@lemmy.one 4 points 1 year ago
[-] philm@programming.dev 3 points 1 year ago

Almost... To be precise it's a Merkle DAG

load more comments (15 replies)
this post was submitted on 18 Dec 2023
737 points (96.5% liked)

Programmer Humor

19817 readers
649 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS