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

Run git reflog—HEAD@{1} is (at least as I understand it) "the state HEAD was at 1 commit ago"—including things such as rebasing and reverting.


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

Search: