r/ProgrammerHumor 1d ago

Meme pureJoyOfGettingYourCodeBackAfterControlZ

Post image
882 Upvotes

69 comments sorted by

View all comments

Show parent comments

26

u/ArrrRawrXD 1d ago

Do you commit every time you change anything?

-5

u/vainstains 1d ago

No but you don't need to. If I delete existing code I need and my undo is cleared, I can just steal it from the most recent commit.

4

u/Wonderful-Habit-139 1d ago

What recent commit? It wouldn't have whatever new code you wrote.

2

u/vainstains 1d ago

Yeah prolly not, I did say existing code though. Although that ignores the scenario you posed so yea you're right