After I made changes on a file. I use
git add FILE_NAME
git reset -- FILE_NAME will do it.
This form resets the index entries for all
<paths>to their state at
<commit>. (It does not affect the working tree, nor the current branch.)
This means that
git reset <paths>is the opposite of
git add <paths>.