title: "git checkout -- *" returns "error: pathspec did not match any files known to git"
body: <p>As in question, if I want to discard changes in working directory I run command <code>git checkout -- *</code> but git returns information <code>error: pathspec 'databaseName.tmp' did not match any file(s) known to git.</code>. I'm not git master and I don't know how to solve it. Any idea?</p>