Hacker News new | ask | show | jobs
by beaumartinez 5262 days ago
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.