Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But 90+% of the time, it'll be a basic use of add, checkout, commit, merge, pull or push, especially if you're a junior.


Don’t forget the most important operation: rm -rf the whole directory and re-clone the main repo.


Yep and if that doesn't work?

Sudo rm -rf


git reset HEAD —hard




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: