1

How to only pop a git stash for only a specific file in the project?

Bionix1441
  • 2,135
  • 1
  • 30
  • 65

1 Answers1

6

Use the restore command git restore -s stash@{0} -- <filename>

  • 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