r/ProgrammerHumor • • Oct 15 '26

Meme letsMergeThemAll

Post image
5.4k Upvotes

316 comments sorted by

View all comments

Show parent comment

38

u/spicybright Oct 15 '26

WELP, time to re-clone the whole repo!

36

u/throwaway85256e Oct 15 '26

Honestly, burning it all down and starting over is sometimes a perfectly valid solution.

6

u/PrincessRTFM Oct 15 '26

I have needed to do that before when I fucked it up so badly that not only could I not revert but also couldn't find any solutions online. I was, in my defence, very early in the learning phase and not really understanding how anything worked yet.

5

u/Honeybadger2198 Oct 15 '26

The closest I've come is where I committed a >50MB <100MB file to my repo and didn't notice for a few days. Had to manually go in and purge the file from the history to unfuck the repo.

2

u/spicybright Oct 15 '26

It definitely is. Even as a senior dev "git wizard" I'd rather wait 5 minutes recloning vs spend 20 untangling a ball of knots if it gets it to the desired state.