git stash command disappeared with files

1

I was working on an important update to the company system and I had to solve another problem, so I ended up putting the changes I made to stash to change branch in> master more updated to solve this other problem.

To my sadness as I rolled stash , it did not add some updates that were in my vendor folder. In fact it created the folder blank, but there are no files.

Does anyone know if I can recover my files?

  

Note: I did not give any commit for these updates I made.

    
asked by anonymous 04.11.2016 / 19:29

1 answer

1

I've come to an end since there were no ways to recover the files. But I understood the problem and I will explain so that no one makes the same mistake as I.

As I said, I was editing a folder that was in vendor and that folder was downloaded using the composer from a Git repository. I needed to edit it but it had another .git folder that ended up conflicting and not letting my git see the changes I made in the class. Then I made some changes and deleted the .git folder and then I was able to stash or even commit p>     

07.11.2016 / 12:02