title: Request to "reset changes after last commit"
body: <p>(referring to this:)
  <a href="https://stackoverflow.com/questions/4630312/reset-all-changes-after-last-commit-in-git">Reset all changes after last commit in git</a></p>
  <p>So, I don't have the 50 reputation needed to comment on that topic, so i guess, i have to ask here. In IntelliJ I did follow the first comment saying to <code>git reset HEAD --hard</code> and then <code>git clean -fd</code>. And then I lost all my files.</p>
  <p>Nothing is visible anymore in IntelliJ. I can still see the git log, but yet, even after checking out to master and trying to get back to the last commit, I still lost all my files since <code>git clean -fd</code>. If i'm checked in on the branch i want to be, i'm in detached head state.</p>
  <p>What can i do?
  Greets</p>