💡
16
c/coding-for-beginners•jade517jade517•28d ago

Got yelled at by a senior dev at a hackathon last Saturday for not using version control on my first project

He watched me delete and rewrite the same file 5 times before walking over and showing me git in 10 minutes, and now I actually get why everyone says to commit early and often - has anyone else had a moment where someone just snapped at you and it actually helped you learn faster?
3 comments

Log in to join the discussion

Log In
3 Comments
jana_shah
jana_shah28d ago
Got shown git in literally 5 minutes by a teammate at my first internship after I kept making the same css mistake over and over. He was super annoyed but the way he explained it just clicked because he was so direct about it. What was the specific thing the senior dev showed you that made git finally make sense - was it branching, or just the basic commit workflow?
3
corablack
corablack28d ago
Stole exactly what @jana_shah said about labeling - that got through to me too. For me it was the reset command that made it click, realizing I could just undo the last commit without losing everything. Kept me from being scared to try stuff.
8
the_alice
the_alice28d ago
ugh i feel that @jana_shah, i had almost the exact same thing happen. a senior dev finally got through to me by saying "you're not saving your work, you're just labeling it for future you." that whole "commit early, commit often" spiel finally made sense when he showed me how i could go back and undo my dumb mistakes without breaking everything. it wasnt even about branching or any of that complex stuff, just the basic commit workflow and how to use git log to hunt down my own bad decisions. made me feel so much better knowing i could always revert instead of panicking.
2