282
git discussion bingo (media.mas.to)
submitted 10 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] cupcakezealot@lemmy.blahaj.zone 6 points 10 months ago

commits are immutable snapshots

git interactive rebase enters, stage right

[-] aspirate2959@sh.itjust.works 4 points 10 months ago

Which makes a new commit. The old commit before the rebase is still there until it's garbage collected. Editing a commit in any way changes its hash, turning it into a new commit.

this post was submitted on 23 Nov 2023
282 points (96.1% liked)

Programmer Humor

32054 readers
1468 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS