Git init deletes my workspace files
from @Tomamais:
Awesome! Just trying the integrated git option and you delete my ENTIRE FOLDER! CONTENT NO TRASH!!! #epicfail on an unversioned project/folder, just hit the git button. Kaboom!
@Tomamais
Which OS (& version) do you have? Which version of VS Code do you have? Which version of git do you have?
What happens when you use the command prompt (or terminal), go into your workspace and run git init? Do the files disappear from Code there as well?
Microsoft Windows [Version 10.0.10586] Visual Studio Code Commit: a80232bbcfe8a5cdad1ebc98638673d9dcb02458 Date 2015-12-19T11:34:58.895Z Shell 0.34.5 Renderer 45.0.2454.85 Node 4.1.1
No. I started a new folder project at that time. When I clicked on the git button, my folder has just disappeared with all code together
Which git version do you have?
What do you mean by git button? Can you maybe take a screenshot?
git version 1.9.5.msysgit.1

OK thanks. That button changes the sidebar to the Git view. What happens if you click on the Explorer button? It's the first one in that column, two buttons above the Git one. Do your files come back then?
Or do the files really dissappear even from the Windows Explorer?
ping @Tomamais
Closing this. Please add more information if you have it.
Hi. It didn't happen anymore. However, I haven't take the risk to lose my files again ;)