I think that's most common question about git. But I have specific problem.
For example I got few files in my local git and have modified some of them. Once I've recalled that I made a mistake in a file, but I want to save the changes in the rest files. I can change their status to staged by git add, but how to commit only chosen files and return original version of file that I don't want to commit right now.
So, I guess, my question is how to return unmodified version of a file with saving changes of another files. Thank you