I just learned painfully that git reset --hard deletes any previously
untracked files that have been staged. I had to recover them one by one
using git fsck.
Before I did the reset I actually checked the list of files and saw them
but I assumed that after the reset those files would be unstaged and
untracked again. It just seemed the most natural bahavior.
Is this a missing feature or is it in fact more logical to delete them?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.