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

Locally in git you have the HEAD@{n} notation to step back n steps through the reflog, so after a bad rebase a `git reset --hard HEAD@{1}` should be all you need.


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

Search: