I don't think it's possible to recover uncommitted changes with git reflog. This would only help people who actually had committed something.
But I read that if lost changes are in files that were earlier added to the index (with git add) it might be possible to recover the data with git fsck --lost-found.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article! The fork bomb is very funny.
I think you can still comeback from number 5 using git reflog, but it won't be funny :p
Thank you 😊
I don't think it's possible to recover uncommitted changes with
git reflog
. This would only help people who actually had committed something.But I read that if lost changes are in files that were earlier added to the index (with
git add
) it might be possible to recover the data withgit fsck --lost-found
.