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

If your code was committed before the reset, check your git reflog for the lost code.


Yeah, git reset --hard is something I do like once a week! lol

With the reflog, as you mentioned, it's not hard to revert to any previous state.




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

Search: