How to only pop a git stash for only a specific file in the project?
Asked
Active
Viewed 1,780 times
1 Answers
6
Use the restore command
git restore -s stash@{0} -- <filename>

Rahim Khan Abdul
- 101
- 4
-
great, simple answer! Please add your answer to the linked similar question. I almost did not see your answer and would have used a more convoluted way to achieve the same. – miva2 Nov 12 '20 at 12:27