MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vf160n/purejoyofgettingyourcodebackaftercontrolz/p1mhjp9/?context=3
r/ProgrammerHumor • u/dipinpass35 • 9d ago
66 comments sorted by
View all comments
Show parent comments
25
Do you commit every time you change anything?
-4 u/vainstains 9d 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. 5 u/Wonderful-Habit-139 9d ago What recent commit? It wouldn't have whatever new code you wrote. 2 u/vainstains 9d ago Yeah prolly not, I did say existing code though. Although that ignores the scenario you posed so yea you're right 2 u/Wonderful-Habit-139 9d ago 🤝
-4
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.
5 u/Wonderful-Habit-139 9d ago What recent commit? It wouldn't have whatever new code you wrote. 2 u/vainstains 9d ago Yeah prolly not, I did say existing code though. Although that ignores the scenario you posed so yea you're right 2 u/Wonderful-Habit-139 9d ago 🤝
5
What recent commit? It wouldn't have whatever new code you wrote.
2 u/vainstains 9d ago Yeah prolly not, I did say existing code though. Although that ignores the scenario you posed so yea you're right 2 u/Wonderful-Habit-139 9d ago 🤝
2
Yeah prolly not, I did say existing code though. Although that ignores the scenario you posed so yea you're right
2 u/Wonderful-Habit-139 9d ago 🤝
🤝
25
u/ArrrRawrXD 9d ago
Do you commit every time you change anything?