I had a dirty working directory and used git stash save -p
to selectively stash some of the changes. My intention is splitting what used to be a big commit into two smaller commits. The problem now is that I accidentally stashed the wrong thunks so I want to do it again. I tried doing a git stash pop
, as suggested in this question but doing that gives me this error:
error: Your local changes to the following files would be overwritten by merge:
my_file.js
Please, commit your changes or stash them before you can merge.
Aborting