4 ms·
One time, I was cowboy coding and ended up writing `grhh` (`git reset --hard`) and hit enter before I realized that it was a mistake.
by poochkoishi728 3y ago
One time, I was cowboy coding and ended up writing `grhh` (`git reset --hard`) and hit enter before I realized that it was a mistake.
- ivanjermakov 3y agoReflog to the rescue: https://git-scm.com/docs/git-reflog https://git-scm.com/docs/git-reflog