this post was submitted on 06 Oct 2025
827 points (96.7% liked)

Programmer Humor

26799 readers
1814 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
 

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[–] Michal@programming.dev 2 points 2 days ago

Even if you rebase you can still recover the original commits until they are garbage collected. You are generally safe as long as the .git directory isn't deleted, in which case your whole history is gone anyway.