Y
Hacker News
new
|
ask
|
show
|
jobs
by
smilliken
70 days ago
If your code was committed before the reset, check your git reflog for the lost code.
1 comments
shimman
70 days ago
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.
link
With the reflog, as you mentioned, it's not hard to revert to any previous state.