I'm new to git.
I'm working on a project, the files under the project directory are commited, and I just added many files by mistake. They are neither added to git nor commit.
Now I want removed them, so I try:
git revert HEAD
But they are still there, and messages are:
C:\WINDOWS\system32\cmd.exe /c git revert HEAD
Finished one revert.
error: Terminal is dumb, but EDITOR unset
Please supply the message using either -m or -F option.
shell returned 1
Hit any key to close this window...
(I'm using windows and gvim)
What's the correct command?