this post was submitted on 04 May 2024
321 points (92.8% liked)

Programmer Humor

19512 readers
357 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] xmunk@sh.itjust.works 2 points 6 months ago (1 children)

I know that if you are on the local repository where the commits were originally created they'll remain accessible through recovery methods but AFAIK orphaned commits aren't synced to other machines.

[โ€“] grrgyle@slrpnk.net 2 points 6 months ago* (last edited 6 months ago)

That's correct. This is for work, which uses GitHub. The dangling commits remain accessible via their sha through the web ui, so I can link them in the PR description. I don't put them in the actual commit message.

I think these are garbage collected eventually, but no idea on cadence. It's long, anyway.