For example, I start from a clean commit, make some changes to different files, then I want to remove changes I made from only one file. How do I do it?
I tried to do:
git stash -p train.py
But I've got the error:
fatal: subcommand wasn't specified; 'push' can't be assumed due to unexpected token 'train.py'