I cloned a repository via "git clone <adress>". Then i made a new
branch, edited some files and created some new files. During this
process, I didn't do any commit or something. Then I wanted do update
the master branch to get the newest version of files I didn't edit.
There I possibly made a huge mistake.
I just typed "git checkout master". Then there were some "D <file1>, D
<file2>" printed in the console but I thought this was only affecting
the master branch.
But after I "pulled" the master branch and switched back to my own
branch, it didn't recreated my files. They are gone!
Is there any way to recover them? Didn't thought that it would delete
any files without a warning! :(
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 firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at