0

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

Bionix1441
  • 1,867
  • 1
  • 24
  • 56

1 Answers1

2

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