Im a beginner to git . I did a git add <directory> . It added
all the files in the directory some of them are .o and generated files
so i did not want to commit . so i did a git revert . After that i see
that git revert removed all my files in directory !!!! .. i did not
expect that . How to restore my files? .It removed all the files i
have worked on for some time. I had to rewrite all the files again. I
think this is not a good behaviour of git .. Is this correct ? is
there any way i can restore my files ?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at