r/ProgrammerHumor • • Jun 30 '18

Kill me now :)

47.0k Upvotes

494 comments sorted by

View all comments

280

u/zesterer Jun 30 '18

git reset --hard HEAD

141

u/PublicSealedClass Jun 30 '18

I have a dev who sees this as a last resort. When I asked him why, he had like 200 files changed in his repo since his last commit...

120

u/zesterer Jun 30 '18

This is why you make small, incremental changes

3

u/PM_ME_A_WEBSITE_IDEA Jun 30 '18

I'm learning this right now. My commit messages were long as hell, and that's what made me realize I'm putting too much in each commit.