Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
akulbe
on Jan 16, 2019
|
parent
|
context
|
favorite
| on:
How to teach Git
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.
buovjaga
on Jan 16, 2019
|
next
[–]
Alternative to nuking from orbit is taking a look at "Flight rules for git":
https://github.com/k88hudson/git-flight-rules
rachelmcarmena
on Jan 16, 2019
|
parent
|
next
[–]
Awesome! I'll add it to my post! Thanks!
smichel17
on Jan 16, 2019
|
prev
[–]
What can you screw up that requires re-cloning the repo rather than just a reset --hard?
akulbe
on Jan 16, 2019
|
parent
|
next
[–]
Not knowing about the "reset --hard" feature? :)
hinkley
on Jan 16, 2019
|
parent
|
prev
[–]
For one, accidentally deleting the .git directory.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I'd add oh-crap-I-screwed-up-so-let's-clone-the-repo-and-start-over to the list.