News for hackers. Stuff that matters.
Re:How to teach Git by akulbe on Wednesday January 16, 2019 @02:35PM (#18924202)
This is so so fitting, and describe me to a "T" as well.

I'd add oh-crap-I-screwed-up-so-let's-clone-the-repo-and-start-over to the list.

Re:How to teach Git by buovjaga on Wednesday January 16, 2019 @04:18PM (#18925374)
Alternative to nuking from orbit is taking a look at "Flight rules for git": https://github.com/k88hudson/git-flight-rules
Re:How to teach Git by rachelmcarmena on Wednesday January 16, 2019 @04:57PM (#18925849)
Awesome! I'll add it to my post! Thanks!
Re:How to teach Git by smichel17 on Wednesday January 16, 2019 @03:19PM (#18924686)
What can you screw up that requires re-cloning the repo rather than just a reset --hard?
Re:How to teach Git by akulbe on Wednesday January 16, 2019 @04:54PM (#18925800)
Not knowing about the "reset --hard" feature? :)
Re:How to teach Git by hinkley on Wednesday January 16, 2019 @06:46PM (#18926815)
For one, accidentally deleting the .git directory.