To stash changes in a single, or a subset of files you can use:
git stash push -- file1.txt
or
git stash push -- file1.txt file2.txt