Back
I stashed my changes. Now I want to unstash only some files from the stash. How can I do this?
In order to unstash only some files from the stash
$ git checkout stash@{N} <File(s)/Folder(s) path>
For example: In order to restore only ./test.c file and ./include folder from last performed stash
$ git checkout stash@{0} ./test.c ./include
30.9k questions
32.9k answers
500 comments
665 users