0 votes
1 view
in DevOps and Agile by (20k points)

I stashed my changes. Now I want to unstash only some files from the stash. How can I do this?

1 Answer

0 votes
by (28.4k points)

In order to unstash only some files from the stash

$ git checkout [email protected]{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 [email protected]{0} ./test.c ./include

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...