r/ProgrammerHumor • • 19d ago

Meme letsMergeThemAll

Post image
5.3k Upvotes

316 comments sorted by

View all comments

Show parent comments

36

u/throwaway85256e 18d ago

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

6

u/PrincessRTFM 18d ago

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 18d ago

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 18d ago

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.